summaryrefslogtreecommitdiff
path: root/src/nautilus-query-editor.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2015-09-22 23:10:00 +0200
committerCarlos Soriano <csoriano@gnome.org>2015-09-22 23:10:00 +0200
commit68a989006dd341b6a3744123da127879ad14e3d8 (patch)
treec059d0be3e3017a618d84c6ddac47aac7670733e /src/nautilus-query-editor.c
parent9dbe133f2a175e078976b366f388a309ebc344f0 (diff)
downloadnautilus-68a989006dd341b6a3744123da127879ad14e3d8.tar.gz
query-editor: plug memory leak
Diffstat (limited to 'src/nautilus-query-editor.c')
-rw-r--r--src/nautilus-query-editor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-query-editor.c b/src/nautilus-query-editor.c
index 858fdd79d..c0e24b60f 100644
--- a/src/nautilus-query-editor.c
+++ b/src/nautilus-query-editor.c
@@ -1106,6 +1106,8 @@ nautilus_query_editor_set_location (NautilusQueryEditor *editor,
editor->details->current_uri = g_file_get_uri (location);
}
update_location (editor);
+
+ g_clear_object (&directory);
}
static void