diff options
author | Christophe Fergeau <teuf@gnome.org> | 2008-07-05 16:37:11 +0000 |
---|---|---|
committer | Christophe Fergeau <teuf@gnome.org> | 2008-07-05 16:37:11 +0000 |
commit | 2b69a7dc412b444d807ffb21eb226ca23635e778 (patch) | |
tree | 269b3e9250b5ab2528528de4c5fd30b58afb2e5b | |
parent | a0c843175b489ede00c410d1ec59ed6690136096 (diff) | |
download | libgpod-tmz-2b69a7dc412b444d807ffb21eb226ca23635e778.tar.gz libgpod-tmz-2b69a7dc412b444d807ffb21eb226ca23635e778.tar.xz libgpod-tmz-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/ithumb-writer.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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; } |