Skip to content

Commit 58312fd

Browse files
committed
caja-tree-view-drag-dest: Fix memory leak
to avoid warning with Clang Analyzer
1 parent 7a26045 commit 58312fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libcaja-private/caja-tree-view-drag-dest.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,7 @@ set_direct_save_uri (CajaTreeViewDragDest *dest,
10341034

10351035
g_object_unref (base);
10361036
g_object_unref (child);
1037+
g_free (filename);
10371038

10381039
/* Change the property */
10391040
gdk_property_change (gdk_drag_context_get_source_window (context),

0 commit comments

Comments
 (0)