Commit 542c6ec8 authored by Jan Rybar's avatar Jan Rybar

Possible resource leak found by static analyzer

parent 7fa33c11
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment