summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-query.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-query.c')
-rw-r--r--libcaja-private/caja-query.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcaja-private/caja-query.c b/libcaja-private/caja-query.c
index df4a8753..e0359a04 100644
--- a/libcaja-private/caja-query.c
+++ b/libcaja-private/caja-query.c
@@ -30,8 +30,6 @@
#include <glib/gi18n.h>
#include <libcaja-private/caja-file-utilities.h>
-#include <src/glibcompat.h> /* for g_list_free_full */
-
struct CajaQueryDetails
{
char *text;
@@ -308,6 +306,7 @@ caja_query_parse_xml (char *xml, gsize xml_len)
ctx = g_markup_parse_context_new (&parser, 0, &info, NULL);
g_markup_parse_context_parse (ctx, xml, xml_len, NULL);
+ g_markup_parse_context_free (ctx);
return info.query;
}