Luciano Santos
78f3f3ba95
- Add polkit-fix-possible-resource-leak.patch: Fix possible resource leak found by static analyzer. - Add polkit-fix-leaking-zombie-child-processes.patch: polkitd: fix zombie not reaped when js spawned process timed out (fdo#106021). OBS-URL: https://build.opensuse.org/request/show/629743 OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit?expand=0&rev=125
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
|
|
|