diff options
author | Miloslav Trmač <mitr@redhat.com> | 2017-02-08 22:53:58 +0100 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2017-06-21 22:44:28 +0200 |
commit | 99b2fe08f8f5d247f1f5d3083b22915e4f87a2b8 (patch) | |
tree | 8380641582006109bd3521ec51c231dd888ee143 | |
parent | ae4f00bfe58efdac62dffa818fdfcb9dd9d6b2b9 (diff) | |
download | polkit-99b2fe08f8f5d247f1f5d3083b22915e4f87a2b8.tar.gz |
Fix a memory leak in server_handle_register_authentication_agent_with_options
https://bugs.freedesktop.org/show_bug.cgi?id=99741
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
-rw-r--r-- | src/polkitbackend/polkitbackendauthority.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/polkitbackend/polkitbackendauthority.c b/src/polkitbackend/polkitbackendauthority.c index 27d8e51..c519bab 100644 --- a/src/polkitbackend/polkitbackendauthority.c +++ b/src/polkitbackend/polkitbackendauthority.c @@ -951,6 +951,7 @@ server_handle_register_authentication_agent_with_options (Server g_dbus_method_invocation_return_value (invocation, g_variant_new ("()")); out: + g_variant_unref (subject_gvariant); if (options != NULL) g_variant_unref (options); if (subject != NULL) |