summaryrefslogtreecommitdiffstats
path: root/src/db-artwork-parser.c
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-07-05 16:37:55 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-07-05 16:37:55 +0000
commit6976d4dba28d3dcfcb6c7d239446ea312f77f8f2 (patch)
treeb82c6d8363c6662373c57cbf2a47af0806c89a1f /src/db-artwork-parser.c
parent6d61b6c1fe687c15564e770815d37e6fbb8d4b25 (diff)
downloadlibgpod-tmz-6976d4dba28d3dcfcb6c7d239446ea312f77f8f2.tar.gz
libgpod-tmz-6976d4dba28d3dcfcb6c7d239446ea312f77f8f2.tar.xz
libgpod-tmz-6976d4dba28d3dcfcb6c7d239446ea312f77f8f2.zip
Fix memleak
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2035 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/db-artwork-parser.c')
-rw-r--r--src/db-artwork-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db-artwork-parser.c b/src/db-artwork-parser.c
index 1f4f84b..4d9aad7 100644
--- a/src/db-artwork-parser.c
+++ b/src/db-artwork-parser.c
@@ -378,6 +378,7 @@ parse_mhba (DBParseContext *ctx, GError *error)
num_children--;
mhod_ctx = db_parse_context_get_sub_context (ctx, cur_offset);
}
+ g_free (mhod_ctx);
mhia_ctx = db_parse_context_get_sub_context (ctx, cur_offset);
num_children = get_gint32 (mhba->num_mhias, ctx->byte_order);