diff --git a/src/imagecache.c b/src/imagecache.c index f6201605..aa0f460c 100644 --- a/src/imagecache.c +++ b/src/imagecache.c @@ -147,6 +147,8 @@ imagecache_image_fetch ( imagecache_image_t *img ) if (img->url == NULL || img->url[0] == '\0') return res; + memset(&url, 0, sizeof(url)); + /* Open file */ if (hts_settings_buildpath(path, sizeof(path), "imagecache/data/%d", img->id))