From 3b246553dde2f8e64c44b5d7c5a04ad104e5418b Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 27 Oct 2014 10:01:08 +0100 Subject: [PATCH] polkitagent: Fix memory leak in PolkitAgentListener The Server struct is not freed correctly. https://bugs.freedesktop.org/show_bug.cgi?id=85506 --- src/polkitagent/polkitagentlistener.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/polkitagent/polkitagentlistener.c b/src/polkitagent/polkitagentlistener.c index 8c333af..3df8ad3 100644 --- a/src/polkitagent/polkitagentlistener.c +++ b/src/polkitagent/polkitagentlistener.c @@ -132,6 +132,7 @@ server_free (Server *server) g_object_unref (server->subject); g_free (server->object_path); + g_free (server); } static gboolean -- 2.1.0