[nautilus] query-editor: fix mem leak



commit b3329af0983d3ba9eaf292a0eca976ef588fa9da
Author: Pavel Vasin <rat4vier gmail com>
Date:   Tue Jan 1 14:35:01 2013 +0400

    query-editor: fix mem leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691004

 src/nautilus-query-editor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-query-editor.c b/src/nautilus-query-editor.c
index 98ac82b..c9473af 100644
--- a/src/nautilus-query-editor.c
+++ b/src/nautilus-query-editor.c
@@ -1235,4 +1235,6 @@ nautilus_query_editor_set_query (NautilusQueryEditor	*editor,
 	}
 
 	editor->details->change_frozen = FALSE;
+
+	g_free (text);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]