summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-17 15:55:23 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-17 15:55:23 +0200
commitb9a0e0106833ac595f860897038953c3e39cd355 (patch)
treeb3d7b5295b49f2d68535b2f38057bfe0e495e412 /src/core
parent69b7fedfc075f67b0c78f6fe0a1ef3a0ddb0a921 (diff)
execute: free syscall filter array after use
Diffstat (limited to 'src/core')
-rw-r--r--src/core/execute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index 7a72aa486c..db4a8ae51c 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -1609,6 +1609,9 @@ void exec_context_done(ExecContext *c) {
free(c->utmp_id);
c->utmp_id = NULL;
+
+ free(c->syscall_filter);
+ c->syscall_filter = NULL;
}
void exec_command_done(ExecCommand *c) {