summaryrefslogtreecommitdiff
path: root/src/grl-source.c
diff options
context:
space:
mode:
authorSebastian Keller <sebastian-keller@gmx.de>2015-02-12 17:43:51 +0100
committerBastien Nocera <hadess@hadess.net>2015-02-13 12:36:22 +0100
commit6329e1be0d3e585ccbdf5d6fbf416c15ce6f93f4 (patch)
tree26b4b8051cd5bc614e4be81a79fb93d2ef454870 /src/grl-source.c
parentdcb7405b622c5fe1b31b596435255034b6bbf69c (diff)
downloadgrilo-6329e1be0d3e585ccbdf5d6fbf416c15ce6f93f4.tar.gz
core: Fix memory leak in get_additional_sources
missing_in_data creates a new list which was not being freed by get_additional_sources. https://bugzilla.gnome.org/show_bug.cgi?id=744408
Diffstat (limited to 'src/grl-source.c')
-rw-r--r--src/grl-source.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grl-source.c b/src/grl-source.c
index 061f45b..f07b7ce 100644
--- a/src/grl-source.c
+++ b/src/grl-source.c
@@ -1426,6 +1426,7 @@ get_additional_sources (GrlSource *source,
GRL_METADATA_KEY_GET_NAME (key));
}
}
+ g_list_free (missing_keys);
/* list_union() is used to remove doubles */
return list_union (NULL, result, NULL);