summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-07-27 11:58:51 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:59:38 +0200
commit6184b93b66d37ac101582eafb4dd39646811f54d (patch)
tree162258d68fdce98bcd75e9be76ed6b91cdec1e8c /client
parent564b6556c93cb1bf36ccd02138c73df263c342cf (diff)
downloadgvfs-6184b93b66d37ac101582eafb4dd39646811f54d.tar.gz
gdbus: Fix leaks of GSimpleAsyncResult
Diffstat (limited to 'client')
-rw-r--r--client/gdaemonfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index 9c0a2885..f94996ca 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;
}