summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-ditem-page.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-12-02 14:22:35 +0300
committerinfirit <[email protected]>2014-12-10 10:38:37 +0100
commitae2b0bcee1db078730bd7ea1578df3b33642214a (patch)
tree5631efdaf6d6cad89c8d931961c30e6582f55bff /src/file-manager/fm-ditem-page.c
parente94434691e9f6831072a3353bde9804509e0b624 (diff)
downloadcaja-ae2b0bcee1db078730bd7ea1578df3b33642214a.tar.bz2
caja-ae2b0bcee1db078730bd7ea1578df3b33642214a.tar.xz
file-manager: don't leak memory
Diffstat (limited to 'src/file-manager/fm-ditem-page.c')
-rw-r--r--src/file-manager/fm-ditem-page.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/file-manager/fm-ditem-page.c b/src/file-manager/fm-ditem-page.c
index 52958feb..0acec773 100644
--- a/src/file-manager/fm-ditem-page.c
+++ b/src/file-manager/fm-ditem-page.c
@@ -218,6 +218,7 @@ fm_ditem_page_exec_drag_data_received (GtkWidget *widget, GdkDragContext *contex
}
file = caja_file_get_by_uri (uris[0]);
+ g_strfreev (uris);
g_return_if_fail (file != NULL);
@@ -248,8 +249,6 @@ fm_ditem_page_exec_drag_data_received (GtkWidget *widget, GdkDragContext *contex
g_free (uri);
caja_file_unref (file);
-
- g_strfreev (uris);
}
static void