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:
Daniel Mack 2016-01-17 13:47:18 +01:00
commit 3855df576f
1 changed files with 1 additions and 0 deletions

View File

@ -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: