summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/systemctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index 5a0055bdfb..08c7fabb7a 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -3963,6 +3963,7 @@ static int create_symlink(const char *verb, const char *old_path, const char *ne
return 1;
}
+ free(dest);
return 0;
}