summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2011-08-22 15:01:27 +0200
committerTomas Bzatek <tbzatek@redhat.com>2011-08-22 15:01:27 +0200
commit5c72b0ef689b8fe6a49cf198be62481bc0436ee8 (patch)
tree61bbdb00745c97c394eea7026832da2f4e80ec16 /common
parenta5c0d4e614645e40a651d20076ab341de64a20f7 (diff)
mountsource: Fix leaks of GSimpleAsyncResult
https://bugzilla.gnome.org/show_bug.cgi?id=656511
Diffstat (limited to 'common')
-rw-r--r--common/gmountsource.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/gmountsource.c b/common/gmountsource.c
index 539ceda9..d2287261 100644
--- a/common/gmountsource.c
+++ b/common/gmountsource.c
@@ -213,6 +213,7 @@ ask_password_reply (DBusMessage *reply,
}
g_simple_async_result_complete (result);
+ g_object_unref (result);
}
void
@@ -532,6 +533,7 @@ ask_question_reply (DBusMessage *reply,
}
g_simple_async_result_complete (result);
+ g_object_unref (result);
}
gboolean
@@ -752,6 +754,7 @@ show_processes_reply (DBusMessage *reply,
}
g_simple_async_result_complete (result);
+ g_object_unref (result);
}
void