From 4dae8ae6df4bc2469532db74bf906aebff527d9e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 8 Feb 2017 17:59:18 +0100 Subject: core: fix minor memory leak --- src/core/dbus-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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); -- cgit v1.2.3-54-g00ecf