commit ddf8efa446350b671856e3a86c2a104f91b8ef39
Author: Nikias Bassen <[email protected]>
Date: Thu Nov 5 10:40:51 2009 +0100
correctly free thumbs_dir
src/ithumb-writer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ithumb-writer.c b/src/ithumb-writer.c
index 6f6519b..85ae1a2 100644
--- a/src/ithumb-writer.c
+++ b/src/ithumb-writer.c
@@ -1568,11 +1568,11 @@ 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);
}
}
+ g_free(thumbs_dir);
g_list_free (formats);
if (writers == NULL) {
return -1;
------------------------------------------------------------------------------
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