summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-08 14:25:44 +0300
committerinfirit <[email protected]>2014-12-10 10:38:37 +0100
commit7aec152ba9f1f6af1706a5c7608bec317b8fbe79 (patch)
treecf501e3156ed7d047b7910af0dd77d02ed3c8e26 /src
parent523ca6754f1f1f5e86367c644bb721b20f5fbebd (diff)
downloadcaja-7aec152ba9f1f6af1706a5c7608bec317b8fbe79.tar.bz2
caja-7aec152ba9f1f6af1706a5c7608bec317b8fbe79.tar.xz
don't leak memory
Diffstat (limited to 'src')
-rw-r--r--src/caja-location-bar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-location-bar.c b/src/caja-location-bar.c
index 428f26a1..a2e27653 100644
--- a/src/caja-location-bar.c
+++ b/src/caja-location-bar.c
@@ -135,6 +135,7 @@ drag_data_received_callback (GtkWidget *widget,
if (names == NULL || *names == NULL)
{
g_warning ("No D&D URI's");
+ g_strfreev (names);
gtk_drag_finish (context, FALSE, FALSE, time);
return;
}
@@ -172,6 +173,7 @@ drag_data_received_callback (GtkWidget *widget,
if (!new_windows_for_extras)
{
+ g_strfreev (names);
gtk_drag_finish (context, FALSE, FALSE, time);
return;
}