Revision: 2035
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2035&view=rev
Author:   teuf
Date:     2008-07-05 09:37:55 -0700 (Sat, 05 Jul 2008)

Log Message:
-----------
Fix memleak

Modified Paths:
--------------
    libgpod/trunk/ChangeLog
    libgpod/trunk/src/db-artwork-parser.c

Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog     2008-07-05 16:37:41 UTC (rev 2034)
+++ libgpod/trunk/ChangeLog     2008-07-05 16:37:55 UTC (rev 2035)
@@ -1,5 +1,9 @@
 2008-07-05  Christophe Fergeau <[EMAIL PROTECTED]>
 
+       * src/db-artwork-parser.c: fix small memory leak
+
+2008-07-05  Christophe Fergeau <[EMAIL PROTECTED]>
+
        * src/ithumb-writer.c: fix typo in thumbnail rearranging code, we
        were wrongly appending Itdb_Thumb_Ipod instances to lists of
        Itdb_Thumb_Ipod_Item

Modified: libgpod/trunk/src/db-artwork-parser.c
===================================================================
--- libgpod/trunk/src/db-artwork-parser.c       2008-07-05 16:37:41 UTC (rev 
2034)
+++ libgpod/trunk/src/db-artwork-parser.c       2008-07-05 16:37:55 UTC (rev 
2035)
@@ -378,6 +378,7 @@
                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);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to