summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2016-01-17 13:47:18 +0100
committerDaniel Mack <github@zonque.org>2016-01-17 13:47:18 +0100
commit3855df576fc7b7ff6dd20f51bd16acacb195ac5d (patch)
tree61f02292b05e9a9f4c084834434a75f4383a859a /src/core
parent05c72f0f186e66788e036335ada4ce8932166f47 (diff)
parent24f412ca4150b490648ab8de45c6eda5bd697fd8 (diff)
Merge pull request #2340 from evverx/fix-memory-leak-on-enable-disable-etc
core: fix memory leak on set-default, enable, disable etc
Diffstat (limited to 'src/core')
-rw-r--r--src/core/dbus-manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 8a523cc8ac..23a16ac15e 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -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: