25 lines
805 B
Diff
25 lines
805 B
Diff
|
From 542c6ec832919df6a74e16aba574adaeebe35e08 Mon Sep 17 00:00:00 2001
|
||
|
From: Jan Rybar <jrybar@redhat.com>
|
||
|
Date: Thu, 9 Aug 2018 16:46:38 +0200
|
||
|
Subject: Possible resource leak found by static analyzer
|
||
|
|
||
|
---
|
||
|
src/polkitagent/polkitagentlistener.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/src/polkitagent/polkitagentlistener.c b/src/polkitagent/polkitagentlistener.c
|
||
|
index debd1bb..2e0e11e 100644
|
||
|
--- a/src/polkitagent/polkitagentlistener.c
|
||
|
+++ b/src/polkitagent/polkitagentlistener.c
|
||
|
@@ -439,6 +439,7 @@ polkit_agent_listener_register_with_options (PolkitAgentListener *listener,
|
||
|
server->thread_initialization_error = NULL;
|
||
|
g_thread_join (server->thread);
|
||
|
server_free (server);
|
||
|
+ server = NULL;
|
||
|
goto out;
|
||
|
}
|
||
|
}
|
||
|
--
|
||
|
cgit v1.1
|
||
|
|