mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 15:58:29 +00:00
systemctl: plug a leak upon create_symlink mismatch
This commit is contained in:
committed by
Lennart Poettering
parent
d9eaa2d538
commit
23b2a3300c
@@ -3963,6 +3963,7 @@ static int create_symlink(const char *verb, const char *old_path, const char *ne
|
||||
return 1;
|
||||
}
|
||||
|
||||
free(dest);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user