[gvfs/gdbus-core: 45/49] gdbus: Fix leaks of GSimpleAsyncResult
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/gdbus-core: 45/49] gdbus: Fix leaks of GSimpleAsyncResult
- Date: Tue, 31 Jul 2012 10:16:14 +0000 (UTC)
commit 6184b93b66d37ac101582eafb4dd39646811f54d
Author: Tomas Bzatek <tbzatek redhat com>
Date: Fri Jul 27 11:58:51 2012 +0200
gdbus: Fix leaks of GSimpleAsyncResult
client/gdaemonfile.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index 9c0a288..f94996c 100644
--- a/client/gdaemonfile.c
+++ b/client/gdaemonfile.c
@@ -2022,6 +2022,7 @@ mount_reply (GVfsDBusMountTracker *proxy,
}
_g_simple_async_result_complete_with_cancellable (ares, data->cancellable);
+ g_object_unref (ares);
free_mount_data (data);
}
@@ -2051,6 +2052,7 @@ mount_enclosing_volume_proxy_cb (GObject *source_object,
data->user_data,
error);
_g_simple_async_result_complete_with_cancellable (ares, data->cancellable);
+ g_object_unref (ares);
free_mount_data (data);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]