summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-query.c
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 /libcaja-private/caja-query.c
parent523ca6754f1f1f5e86367c644bb721b20f5fbebd (diff)
downloadcaja-7aec152ba9f1f6af1706a5c7608bec317b8fbe79.tar.bz2
caja-7aec152ba9f1f6af1706a5c7608bec317b8fbe79.tar.xz
don't leak memory
Diffstat (limited to 'libcaja-private/caja-query.c')
-rw-r--r--libcaja-private/caja-query.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcaja-private/caja-query.c b/libcaja-private/caja-query.c
index df4a8753..4b38d830 100644
--- a/libcaja-private/caja-query.c
+++ b/libcaja-private/caja-query.c
@@ -308,6 +308,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;
}