summaryrefslogtreecommitdiff
path: root/src/execute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/execute.c')
-rw-r--r--src/execute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/execute.c b/src/execute.c
index 8f486e2004..1e8dfaf770 100644
--- a/src/execute.c
+++ b/src/execute.c
@@ -1406,6 +1406,9 @@ void exec_context_done(ExecContext *c) {
if (c->cpuset)
CPU_FREE(c->cpuset);
+
+ free(c->utmp_id);
+ c->utmp_id = NULL;
}
void exec_command_done(ExecCommand *c) {