summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-07-05 16:37:11 +0000
committerteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-07-05 16:37:11 +0000
commitfeed2d211adcb756cd9da36db8fc485401bf00b0 (patch)
tree269b3e9250b5ab2528528de4c5fd30b58afb2e5b
parente0d9c9be8881662bb47b8ff14d0056206896b73f (diff)
downloadlibgpod-feed2d211adcb756cd9da36db8fc485401bf00b0.tar.gz
libgpod-feed2d211adcb756cd9da36db8fc485401bf00b0.tar.xz
libgpod-feed2d211adcb756cd9da36db8fc485401bf00b0.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;
}