summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Lunn <tim@feathertop.org>2016-01-15 10:51:01 +1100
committerTim Lunn <tim@feathertop.org>2016-01-15 21:03:08 +1100
commit26217f97e9ca2bba4a8b2210d4e747b54ae378e3 (patch)
treebb3ac27dd041c412f634a0395519913a8b82f68b
parent78cf2dd5158049174e61fddff3130542032553d5 (diff)
lua-factory: Fix memory leak of list
https://bugzilla.gnome.org/show_bug.cgi?id=760565
-rw-r--r--src/lua-factory/grl-lua-factory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua-factory/grl-lua-factory.c b/src/lua-factory/grl-lua-factory.c
index 5b531da..1f93d75 100644
--- a/src/lua-factory/grl-lua-factory.c
+++ b/src/lua-factory/grl-lua-factory.c
@@ -1193,6 +1193,7 @@ merge_all_configs (const gchar *source_id,
for (it_keys = list_keys; it_keys; it_keys = g_list_next (it_keys)) {
options = g_list_append (options, g_strdup (it_keys->data));
}
+ g_list_free(list_keys);
}
/* Now merge them */