systemctl: plug a leak upon create_symlink mismatch

This commit is contained in:
Jim Meyering 2011-06-15 20:13:54 +02:00 committed by Lennart Poettering
parent d9eaa2d538
commit 23b2a3300c

View file

@ -3963,6 +3963,7 @@ static int create_symlink(const char *verb, const char *old_path, const char *ne
return 1;
}
free(dest);
return 0;
}