enjoy: Plug memory leak when downloading a cover art that already existed on the cache directory
SVN revision: 62841
This commit is contained in:
parent
7862272a4a
commit
f6bb4a8aaa
|
@ -397,7 +397,11 @@ lastfm_cover_download(char *url,
|
|||
ERR("could not obtain local path for url %s", url);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
if (ecore_file_exists(dest)) return EINA_TRUE;
|
||||
if (ecore_file_exists(dest))
|
||||
{
|
||||
free(dest);
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
lcdd->data = data;
|
||||
lcdd->local_file = dest;
|
||||
|
|
Loading…
Reference in New Issue