diff options
author | Monsta <[email protected]> | 2014-12-02 14:22:35 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-10 10:38:37 +0100 |
commit | ae2b0bcee1db078730bd7ea1578df3b33642214a (patch) | |
tree | 5631efdaf6d6cad89c8d931961c30e6582f55bff /src/file-manager/fm-ditem-page.c | |
parent | e94434691e9f6831072a3353bde9804509e0b624 (diff) | |
download | caja-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.c | 3 |
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 |