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

Log Message:
-----------
Fix a memory leak

Modified Paths:
--------------
    libgpod/trunk/ChangeLog
    libgpod/trunk/src/ithumb-writer.c

Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog     2008-07-05 10:18:54 UTC (rev 2031)
+++ libgpod/trunk/ChangeLog     2008-07-05 16:37:11 UTC (rev 2032)
@@ -1,3 +1,8 @@
+2008-07-05  Christophe Fergeau <[EMAIL PROTECTED]>
+
+       * src/ithumb-writer.c: don't leak the list of image formats we get
+       from the ItdbDevice
+
 2008-06-29  Daniele Forsi <dforsi at users.sourceforge.net>
 
         * src/itdb_itunesdb.c src/itdb_thumb.c src/itdb_device.c 

Modified: libgpod/trunk/src/ithumb-writer.c
===================================================================
--- libgpod/trunk/src/ithumb-writer.c   2008-07-05 10:18:54 UTC (rev 2031)
+++ libgpod/trunk/src/ithumb-writer.c   2008-07-05 16:37:11 UTC (rev 2032)
@@ -1544,6 +1544,7 @@
                         writers = g_list_prepend (writers, writer);
                }
        }
+       g_list_free (formats);
        if (writers == NULL) {
                return -1;
        }


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