diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2012-04-05 16:21:43 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-31 11:58:20 +0200 |
commit | 7ebe892e2c390963c322a09305f6aa5951913699 (patch) | |
tree | 6380dfc2dc2be24c092e888ca59ca1fd34c0322f /client | |
parent | f55ffc1135840380c761f2cbb776e0253ed6305d (diff) | |
download | gvfs-7ebe892e2c390963c322a09305f6aa5951913699.tar.gz |
gdbus: Handle NULL mount_info in create_proxy_for_file2()
Diffstat (limited to 'client')
-rw-r--r-- | client/gdaemonfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c index bc0afbe3..7ae26177 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); |