[gvfs/gdbus-core: 3/33] gdbus: Handle NULL mount_info in create_proxy_for_file2()
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/gdbus-core: 3/33] gdbus: Handle NULL mount_info in create_proxy_for_file2()
- Date: Fri, 20 Jul 2012 16:35:09 +0000 (UTC)
commit 9989ebd6f3060532ce6f51eb74c77e625276a728
Author: Tomas Bzatek <tbzatek redhat com>
Date: Thu Apr 5 16:21:43 2012 +0200
gdbus: Handle NULL mount_info in create_proxy_for_file2()
client/gdaemonfile.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index ef021a0..f457f82 100644
--- a/client/gdaemonfile.c
+++ b/client/gdaemonfile.c
@@ -446,7 +446,8 @@ create_proxy_for_file2 (GFile *file1,
*connection_out = connection;
out:
- g_mount_info_unref (mount_info1);
+ if (mount_info1)
+ g_mount_info_unref (mount_info1);
if (mount_info2)
g_mount_info_unref (mount_info2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]