summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2017-03-27 19:04:42 +0200
committerOndrej Holy <oholy@redhat.com>2017-03-28 12:17:34 +0200
commitd19196707a517fcbcabe2a98c9574a0aee9d1f91 (patch)
tree10b49d915212d856a16d19870d4bf52cd7036531 /common
parentd22a127d79f5c7f8d918b86506d661b702f5ec54 (diff)
downloadgvfs-d19196707a517fcbcabe2a98c9574a0aee9d1f91.tar.gz
common: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=747412
Diffstat (limited to 'common')
-rw-r--r--common/gvfsmountinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/gvfsmountinfo.c b/common/gvfsmountinfo.c
index ca4d8685..e3350c19 100644
--- a/common/gvfsmountinfo.c
+++ b/common/gvfsmountinfo.c
@@ -564,6 +564,7 @@ bdmv_metadata_thread (GSimpleAsyncResult *result,
g_simple_async_result_set_op_res_gpointer (result,
g_file_icon_new (icon_file),
NULL);
+ g_object_unref (icon_file);
}
else
{