mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
Merge pull request #2340 from evverx/fix-memory-leak-on-enable-disable-etc
core: fix memory leak on set-default, enable, disable etc
This commit is contained in:
commit
3855df576f
|
@ -1607,6 +1607,7 @@ static int reply_unit_file_changes_and_free(
|
|||
if (r < 0)
|
||||
goto fail;
|
||||
|
||||
unit_file_changes_free(changes, n_changes);
|
||||
return sd_bus_send(NULL, reply, NULL);
|
||||
|
||||
fail:
|
||||
|
|
Loading…
Reference in a new issue