Commit eb71471f authored by Miloslav Trmač's avatar Miloslav Trmač Committed by Ray Strode

Fix a memory leak in server_handle_authentication_agent_response{,2}

https://bugs.freedesktop.org/show_bug.cgi?id=99741Signed-off-by: 's avatarMiloslav Trmač <mitr@redhat.com>
parent 3e74d1ef
......@@ -1054,6 +1054,7 @@ server_handle_authentication_agent_response (Server *server,
g_dbus_method_invocation_return_value (invocation, g_variant_new ("()"));
out:
g_variant_unref (identity_gvariant);
if (identity != NULL)
g_object_unref (identity);
}
......@@ -1104,6 +1105,7 @@ server_handle_authentication_agent_response2 (Server *server,
g_dbus_method_invocation_return_value (invocation, g_variant_new ("()"));
out:
g_variant_unref (identity_gvariant);
if (identity != NULL)
g_object_unref (identity);
}
......
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