mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 20:25:38 +03:00
systemctl: plug a leak upon create_symlink mismatch
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user