summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-06 16:10:37 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-09 19:41:16 +0100
commitd22ba3e7629976f6a55382140945e92a4d5600b7 (patch)
treef4cfd9d154273bde03fb30278afa085959819b15 /init
parent59499c6189fd0871b46acf7c3c1a67c00bba9956 (diff)
init: fix memory leak
Found using the Clang Static Analyzer. * init/init.c (process_signal): Fix memory leak.
Diffstat (limited to 'init')
-rw-r--r--init/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 94f1a9bc..de5dd6b6 100644
--- a/init/init.c
+++ b/init/init.c
@@ -961,6 +961,7 @@ process_signal (int signo)
}
launch_something (desc);
+ free (desc);
}
}
}