summaryrefslogtreecommitdiffstats
path: root/src/itdb_photoalbum.c
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2007-10-21 10:41:40 +0000
committerChristophe Fergeau <teuf@gnome.org>2007-10-21 10:41:40 +0000
commit315f996c01dec27487225cf260c976fabc3d81df (patch)
tree35c66d8cadc6ee28e8cb97444d35096cbc696d2e /src/itdb_photoalbum.c
parent9c22367433d2be7bd4df23dc70b2ae747d0b2ee0 (diff)
downloadlibgpod-tmz-315f996c01dec27487225cf260c976fabc3d81df.tar.gz
libgpod-tmz-315f996c01dec27487225cf260c976fabc3d81df.tar.xz
libgpod-tmz-315f996c01dec27487225cf260c976fabc3d81df.zip
* src/itdb_photoalbum.c: (itdb_get_photos_dir):
* src/ithumb-writer.c: (ipod_image_get_ithmb_filename): git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1728 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_photoalbum.c')
-rw-r--r--src/itdb_photoalbum.c3
1 files changed, 2 insertions, 1 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;