From 33c1cd439b93b203c40d3ff99b4a3fcd7cbc47ac Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Thu, 7 Feb 2019 22:47:32 +0000 Subject: [PATCH] Fix memory leak of dbus service names Signed-off-by: Yuxuan Shui --- src/dbus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dbus.c b/src/dbus.c index edc1af8..6df7315 100644 --- a/src/dbus.c +++ b/src/dbus.c @@ -207,6 +207,7 @@ cdbus_destroy(session_t *ps) { log_error("Failed to release DBus name (%s).", err.message); dbus_error_free(&err); } + free(cd->dbus_service); } // Close and unref the connection