[systemd-commits] src/systemctl.c
Lennart Poettering
lennart at kemper.freedesktop.org
Wed Jun 15 11:47:55 PDT 2011
src/systemctl.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 23b2a3300c11535022f3f54b4e0bd37153c129ba
Author: Jim Meyering <jim at meyering.net>
Date: Wed Jun 15 20:13:54 2011 +0200
systemctl: plug a leak upon create_symlink mismatch
diff --git a/src/systemctl.c b/src/systemctl.c
index 5a0055b..08c7fab 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;
}
More information about the systemd-commits
mailing list