diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/itdb_photoalbum.c | 3 | ||||
-rw-r--r-- | src/ithumb-writer.c | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2007-10-21 Christophe Fergeau <teuf@gnome.org> + + * src/itdb_photoalbum.c: (itdb_get_photos_dir): + * src/ithumb-writer.c: (ipod_image_get_ithmb_filename): + 2007-10-16 Todd Zullinger <tmzullinger at users.sourceforge.net> * autogen.sh: add --enable-gtk-doc to the gnome-autogen.sh diff --git a/src/itdb_photoalbum.c b/src/itdb_photoalbum.c index 714446e..af15407 100644 --- a/src/itdb_photoalbum.c +++ b/src/itdb_photoalbum.c @@ -24,7 +24,7 @@ | | This product is not supported/written/published by Apple! | -| $Id: itdb_photoalbum.c,v 1.17 2007/03/21 08:37:20 jcsjcs Exp $ +| $Id$ */ #include <config.h> @@ -136,6 +136,7 @@ gchar *itdb_get_photos_dir (const gchar *mountpoint) for (ptr=paths; *ptr && !result; ++ptr) { + g_free (result); result = itdb_resolve_path (mountpoint, (const gchar **)*ptr); } return result; diff --git a/src/ithumb-writer.c b/src/ithumb-writer.c index e4d4a64..c6fa507 100644 --- a/src/ithumb-writer.c +++ b/src/ithumb-writer.c @@ -406,7 +406,7 @@ ipod_image_get_ithmb_filename (const char *mount_point, gint correlation_id, gin /* printf ("%s %s\n", buf, filename);*/ g_free (buf); - + g_free (artwork_dir); return filename; } |