Revision: 1767
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=1767&view=rev
Author:   jcsjcs
Date:     2007-11-09 08:49:39 -0800 (Fri, 09 Nov 2007)

Log Message:
-----------
        * src/db-parse-context.c (db_parse_context_get_m_header_internal):
          fixed memory leak.

Modified Paths:
--------------
    libgpod/trunk/ChangeLog
    libgpod/trunk/src/db-parse-context.c

Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog     2007-11-08 20:04:55 UTC (rev 1766)
+++ libgpod/trunk/ChangeLog     2007-11-09 16:49:39 UTC (rev 1767)
@@ -1,3 +1,8 @@
+2007-11-09  Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+       * src/db-parse-context.c (db_parse_context_get_m_header_internal):
+         fixed memory leak.
+
 2007-11-08  Christophe Fergeau  <[EMAIL PROTECTED]>
 
        * src/itdb_device.c: (itdb_device_requires_checksum): the iPod Touch

Modified: libgpod/trunk/src/db-parse-context.c
===================================================================
--- libgpod/trunk/src/db-parse-context.c        2007-11-08 20:04:55 UTC (rev 
1766)
+++ libgpod/trunk/src/db-parse-context.c        2007-11-09 16:49:39 UTC (rev 
1767)
@@ -145,8 +145,10 @@
                g_strreverse (header_id);
        }
        if (strncmp (id, header_id, 4) != 0) {
+               g_free (header_id);
                return NULL;
        }
+
        g_free (header_id);
 
        /* FIXME: this test sucks for compat: if a field is smaller than 


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to