summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-07-05 16:37:11 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-07-05 16:37:11 +0000
commitb2bdf4cfa6df99dd6fe1c3fa8970567b9a9338c4 (patch)
tree269b3e9250b5ab2528528de4c5fd30b58afb2e5b
parent8bb839034539de6005f592abedfbad462c13a4b9 (diff)
downloadlibgpod-b2bdf4cfa6df99dd6fe1c3fa8970567b9a9338c4.tar.gz
libgpod-b2bdf4cfa6df99dd6fe1c3fa8970567b9a9338c4.tar.xz
libgpod-b2bdf4cfa6df99dd6fe1c3fa8970567b9a9338c4.zip
Fix a memory leak
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2032 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r--ChangeLog5
-rw-r--r--src/ithumb-writer.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 98bcb90..2f70f6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-05 Christophe Fergeau <teuf@gnome.org>
+
+ * 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
diff --git a/src/ithumb-writer.c b/src/ithumb-writer.c
index 9880e8d..d3d94d4 100644
--- a/src/ithumb-writer.c
+++ b/src/ithumb-writer.c
@@ -1544,6 +1544,7 @@ itdb_write_ithumb_files (Itdb_DB *db)
writers = g_list_prepend (writers, writer);
}
}
+ g_list_free (formats);
if (writers == NULL) {
return -1;
}