From 6323cb7f767ba77458384cb35d27315df9af0cb4 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 30 Dec 2008 00:45:45 +0100 Subject: Retrieve titles and thumbnail from linked album if not defined in index Fix mem leak --- generators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'generators.c') diff --git a/generators.c b/generators.c index 28a6770..f2aaa31 100644 --- a/generators.c +++ b/generators.c @@ -478,7 +478,7 @@ write_html_album (TGallerySetup *setup, } if (strstr(s1, "")) { s3 = g_strconcat (items->base_dir, "/", item->path, "/index.xml", NULL); - s2 = g_strdup_printf ("%d", get_album_objects_count(s3)); + s2 = g_strdup_printf ("%d", get_album_objects_count (s3)); str_replace (&s1, "", s2, NULL); g_free (s2); g_free (s3); -- cgit v1.2.3