summaryrefslogtreecommitdiff
path: root/src/polkitmateauthenticationdialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/polkitmateauthenticationdialog.c')
-rw-r--r--src/polkitmateauthenticationdialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/polkitmateauthenticationdialog.c b/src/polkitmateauthenticationdialog.c
index 13123f2..cb2bbe4 100644
--- a/src/polkitmateauthenticationdialog.c
+++ b/src/polkitmateauthenticationdialog.c
@@ -176,6 +176,7 @@ get_user_icon (char *username)
{
g_warning ("Accounts couldn't find user: %s", error->message);
g_error_free (error);
+ g_object_unref (connection);
return NULL;
}
@@ -202,6 +203,7 @@ get_user_icon (char *username)
{
g_warning ("Accounts couldn't find user icon: %s", error->message);
g_error_free (error);
+ g_object_unref (connection);
return NULL;
}
@@ -228,6 +230,7 @@ get_user_icon (char *username)
g_variant_unref (icon_result_variant);
g_variant_unref (get_icon_result);
+ g_object_unref (connection);
return pixbuf;
}