From 58312fdac5009d104ac32481a03dd130d91ebef7 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 23 Feb 2019 16:58:20 +0100 Subject: caja-tree-view-drag-dest: Fix memory leak to avoid warning with Clang Analyzer --- libcaja-private/caja-tree-view-drag-dest.c | 1 + 1 file changed, 1 insertion(+) 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), -- cgit v1.2.1