commit f842fa396aa089b771cc2687737951d5cfae1073
Author: Christophe Fergeau <[email protected]>
Date: Wed Nov 4 23:58:55 2009 +0100
don't leak thumbs_dir
src/ithumb-writer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ithumb-writer.c b/src/ithumb-writer.c
index 9e45d46..6f6519b 100644
--- a/src/ithumb-writer.c
+++ b/src/ithumb-writer.c
@@ -1568,6 +1568,7 @@ itdb_write_ithumb_files (Itdb_DB *db)
ithmb_rearrange_existing_thumbnails (thumbs_dir, db, format);
writer = ithumb_writer_new (thumbs_dir, format,
db->db_type, device->byte_order);
+ g_free (thumbs_dir);
if (writer != NULL) {
writers = g_list_prepend (writers, writer);
}
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2