summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-29 21:31:29 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-29 21:31:29 +0100
commitd6c9d575e18c8f6952722d9d941de93d45824115 (patch)
tree4818889de125873904edcd3df91e42e770365bac /src
parent8ebdb652aff771218141ffe657fd7d9f76e702b5 (diff)
parent49df985cef85b94e621f95b13ccd94b109de30cb (diff)
Merge pull request #2239 from evverx/fix-memory-leak-in-test-bus-marshal
tests: fix memory leak in test-bus-marshal
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd/sd-bus/test-bus-marshal.c2
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