[grilo-plugins] lua-factory: Fix memory leak of list
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] lua-factory: Fix memory leak of list
- Date: Fri, 15 Jan 2016 10:10:07 +0000 (UTC)
commit 26217f97e9ca2bba4a8b2210d4e747b54ae378e3
Author: Tim Lunn <tim feathertop org>
Date: Fri Jan 15 10:51:01 2016 +1100
lua-factory: Fix memory leak of list
https://bugzilla.gnome.org/show_bug.cgi?id=760565
src/lua-factory/grl-lua-factory.c | 1 +
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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]