diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-29 21:31:29 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-29 21:31:29 +0100 |
commit | d6c9d575e18c8f6952722d9d941de93d45824115 (patch) | |
tree | 4818889de125873904edcd3df91e42e770365bac | |
parent | 8ebdb652aff771218141ffe657fd7d9f76e702b5 (diff) | |
parent | 49df985cef85b94e621f95b13ccd94b109de30cb (diff) |
Merge pull request #2239 from evverx/fix-memory-leak-in-test-bus-marshal
tests: fix memory leak in test-bus-marshal
-rw-r--r-- | src/libsystemd/sd-bus/test-bus-marshal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-marshal.c b/src/libsystemd/sd-bus/test-bus-marshal.c index 077cc6ddac..b9d1ea5217 100644 --- a/src/libsystemd/sd-bus/test-bus-marshal.c +++ b/src/libsystemd/sd-bus/test-bus-marshal.c @@ -246,6 +246,8 @@ int main(int argc, char *argv[]) { log_error("%s", error.message); else dbus_message_unref(w); + + dbus_error_free(&error); } #endif |