[gvfs/gdbus-core: 3/49] 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/49] gdbus: Handle NULL mount_info in create_proxy_for_file2()
- Date: Tue, 31 Jul 2012 10:12:42 +0000 (UTC)
commit 7ebe892e2c390963c322a09305f6aa5951913699
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 bc0afbe..7ae2617 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]