diff options
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-icon-container.c | 1 | ||||
-rw-r--r-- | libcaja-private/caja-query.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c index c33868dd..ed9aa24b 100644 --- a/libcaja-private/caja-icon-container.c +++ b/libcaja-private/caja-icon-container.c @@ -2060,6 +2060,7 @@ align_icons (CajaIconContainer *container) if (!grid) { + g_list_free (unplaced_icons); return; } 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; } |