summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-directory-view.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-directory-view.c
parente94434691e9f6831072a3353bde9804509e0b624 (diff)
downloadcaja-ae2b0bcee1db078730bd7ea1578df3b33642214a.tar.bz2
caja-ae2b0bcee1db078730bd7ea1578df3b33642214a.tar.xz
file-manager: don't leak memory
Diffstat (limited to 'src/file-manager/fm-directory-view.c')
-rw-r--r--src/file-manager/fm-directory-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index eadb3750..ac13a13f 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -10519,6 +10519,7 @@ fm_directory_view_handle_netscape_url_drop (FMDirectoryView *view,
handle_netscape_url_drop_ask_cb,
data);
+ g_strfreev (bits);
g_free (container_uri);
return;
}
@@ -10534,6 +10535,7 @@ fm_directory_view_handle_netscape_url_drop (FMDirectoryView *view,
eel_show_warning_dialog (_("Drag and drop is not supported."),
_("An invalid drag type was used."),
fm_directory_view_get_containing_window (view));
+ g_strfreev (bits);
g_free (container_uri);
return;
}
@@ -10592,7 +10594,6 @@ fm_directory_view_handle_netscape_url_drop (FMDirectoryView *view,
}
g_strfreev (bits);
-
g_free (container_uri);
}