diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/itdb_photoalbum.c | 3 | ||||
-rw-r--r-- | src/ithumb-writer.c | 2 |
2 files changed, 3 insertions, 2 deletions
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; } |