[libgdata] core: Fix a memory leak in GDataMediaGroup
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] core: Fix a memory leak in GDataMediaGroup
- Date: Fri, 10 Dec 2010 17:53:34 +0000 (UTC)
commit 82ca3cb7a602184bafd87003fddce297f82aa2a1
Author: Philip Withnall <philip tecnocode co uk>
Date: Fri Dec 10 12:11:49 2010 +0000
core: Fix a memory leak in GDataMediaGroup
gdata/media/gdata-media-group.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdata/media/gdata-media-group.c b/gdata/media/gdata-media-group.c
index a38997a..c046bb5 100644
--- a/gdata/media/gdata-media-group.c
+++ b/gdata/media/gdata-media-group.c
@@ -164,6 +164,7 @@ parse_xml (GDataParsable *parsable, xmlDoc *doc, xmlNode *node, gpointer user_da
}
self->priv->keywords = g_strsplit ((gchar*) text, ",", -1);
+ xmlFree (text);
for (i = 0; self->priv->keywords[i] != NULL; i++) {
gchar *comma, *start = self->priv->keywords[i];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]