summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-tree-view-drag-dest.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-02-23 16:58:20 +0100
committerZenWalker <[email protected]>2019-03-04 12:51:40 +0100
commit4d97ffc90429fb6e6d77920e9939613450b5996f (patch)
tree95c7b94485b657bbdd74c2e3b1fc3f95bcfd45d7 /libcaja-private/caja-tree-view-drag-dest.c
parent4f4d31f905b2073cc39f2f214bcd9ba64f8ee61f (diff)
downloadcaja-4d97ffc90429fb6e6d77920e9939613450b5996f.tar.bz2
caja-4d97ffc90429fb6e6d77920e9939613450b5996f.tar.xz
caja-tree-view-drag-dest: Fix memory leak
to avoid warning with Clang Analyzer
Diffstat (limited to 'libcaja-private/caja-tree-view-drag-dest.c')
-rw-r--r--libcaja-private/caja-tree-view-drag-dest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcaja-private/caja-tree-view-drag-dest.c b/libcaja-private/caja-tree-view-drag-dest.c
index c1c8ad15..0cd60fd5 100644
--- a/libcaja-private/caja-tree-view-drag-dest.c
+++ b/libcaja-private/caja-tree-view-drag-dest.c
@@ -1034,6 +1034,7 @@ set_direct_save_uri (CajaTreeViewDragDest *dest,
g_object_unref (base);
g_object_unref (child);
+ g_free (filename);
/* Change the property */
gdk_property_change (gdk_drag_context_get_source_window (context),