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
commit2b69a7dc412b444d807ffb21eb226ca23635e778 (patch)
tree269b3e9250b5ab2528528de4c5fd30b58afb2e5b
parenta0c843175b489ede00c410d1ec59ed6690136096 (diff)
downloadlibgpod-2b69a7dc412b444d807ffb21eb226ca23635e778.tar.gz
libgpod-2b69a7dc412b444d807ffb21eb226ca23635e778.tar.xz
libgpod-2b69a7dc412b444d807ffb21eb226ca23635e778.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;
}