summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-02-23 16:58:20 +0100
committerPablo Barciela <[email protected]>2019-03-05 01:19:25 +0100
commit58312fdac5009d104ac32481a03dd130d91ebef7 (patch)
tree7a055c176844d988981bf95113023d60b8678be3 /libcaja-private
parent7a26045d9b7ea816a3302253e0192013d44e8f45 (diff)
downloadcaja-58312fdac5009d104ac32481a03dd130d91ebef7.tar.bz2
caja-58312fdac5009d104ac32481a03dd130d91ebef7.tar.xz
caja-tree-view-drag-dest: Fix memory leak
to avoid warning with Clang Analyzer
Diffstat (limited to 'libcaja-private')
-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),