diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-08 17:59:18 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-09 16:13:07 +0100 |
commit | 4dae8ae6df4bc2469532db74bf906aebff527d9e (patch) | |
tree | e0a0e8194181718d541491cd85737cf067aabcb5 | |
parent | 1d450bda706abedb6724cc2c0f834ebc1686309f (diff) |
core: fix minor memory leak
-rw-r--r-- | src/core/dbus-manager.c | 2 |
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); |