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 a new issue