diff options
author | Ted Gould <ted@gould.cx> | 2011-07-07 15:31:41 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-07-07 15:31:41 -0500 |
commit | 457dd74bc8752065e9558f5a67a50635a06b8ffc (patch) | |
tree | 0a159b379a31e09eac81431d7bf578d99379395d /tests/test-approver.c | |
parent | 3eea1be84b1c47bdf682c25a80851a4cacec4bd2 (diff) | |
parent | 75eadfd9da49640b5ee5d8da60b378d5ba9aa57d (diff) | |
download | ayatana-indicator-application-457dd74bc8752065e9558f5a67a50635a06b8ffc.tar.gz ayatana-indicator-application-457dd74bc8752065e9558f5a67a50635a06b8ffc.tar.bz2 ayatana-indicator-application-457dd74bc8752065e9558f5a67a50635a06b8ffc.zip |
Import upstream version 0.3.91
Diffstat (limited to 'tests/test-approver.c')
-rw-r--r-- | tests/test-approver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-approver.c b/tests/test-approver.c index 6fc75c5..bacdc67 100644 --- a/tests/test-approver.c +++ b/tests/test-approver.c @@ -149,6 +149,11 @@ register_cb (GObject *object, GAsyncResult *res, gpointer user_data) result = g_dbus_proxy_call_finish(proxy, res, &error); + if (result != NULL) { + g_variant_unref(result); + result = NULL; + } + if (error != NULL) { g_warning("Unable to register approver: %s", error->message); g_error_free(error); |