summaryrefslogtreecommitdiffstats
path: root/src
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
commit2438b1c58c0b45e1f5fd20af7410821787b88396 (patch)
treeb82c6d8363c6662373c57cbf2a47af0806c89a1f /src
parent63f8318eb5b4bcdda5701cf802642e2586f4c8cc (diff)
downloadlibgpod-tmz-2438b1c58c0b45e1f5fd20af7410821787b88396.tar.gz
libgpod-tmz-2438b1c58c0b45e1f5fd20af7410821787b88396.tar.xz
libgpod-tmz-2438b1c58c0b45e1f5fd20af7410821787b88396.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')
-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);