summaryrefslogtreecommitdiff
path: root/src/core/dbus-manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-02-08 17:59:18 +0100
committerLennart Poettering <lennart@poettering.net>2017-02-09 16:13:07 +0100
commit4dae8ae6df4bc2469532db74bf906aebff527d9e (patch)
treee0a0e8194181718d541491cd85737cf067aabcb5 /src/core/dbus-manager.c
parent1d450bda706abedb6724cc2c0f834ebc1686309f (diff)
downloadsystemd-4dae8ae6df4bc2469532db74bf906aebff527d9e.tar.gz
core: fix minor memory leak
Diffstat (limited to 'src/core/dbus-manager.c')
-rw-r--r--src/core/dbus-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 0136d38833..bcc17726ed 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -1342,7 +1342,7 @@ static int verify_run_space(const char *message, sd_bus_error *error) {
}
int verify_run_space_and_log(const char *message) {
- sd_bus_error error = SD_BUS_ERROR_NULL;
+ _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
int r;
r = verify_run_space(message, &error);