diff options
author | Sven Baars <svenb.linux@gmail.com> | 2012-02-11 11:58:54 +0100 |
---|---|---|
committer | Sven Baars <svenb.linux@gmail.com> | 2012-02-11 11:58:54 +0100 |
commit | 6d9ffd0af933bcc154d97f83f2385b8b7df70c74 (patch) | |
tree | 0f0753e716295df7996281bc97dbe6260f3afc65 /src | |
parent | 8c0ecc8e811e697b208779be157c78378cfba2d3 (diff) | |
download | ayatana-indicator-application-6d9ffd0af933bcc154d97f83f2385b8b7df70c74.tar.gz ayatana-indicator-application-6d9ffd0af933bcc154d97f83f2385b8b7df70c74.tar.bz2 ayatana-indicator-application-6d9ffd0af933bcc154d97f83f2385b8b7df70c74.zip |
Free the result of g_dbus_proxy_call_finish after use
Diffstat (limited to 'src')
-rw-r--r-- | src/application-service-appstore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index e11883f..2f456f4 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -1466,6 +1466,7 @@ approver_request_cb (GObject *object, GAsyncResult *res, gpointer user_data) if (error == NULL) { g_variant_get(result, "(b)", &approved); g_debug("Approver responded: %s", approved ? "approve" : "rejected"); + g_variant_unref(result); } else { g_debug("Approver responded error: %s", error->message); @@ -1654,4 +1655,3 @@ approver_receive_signal (GDBusProxy * proxy, gchar * sender_name, gchar * signal return; } - |