Plug leak of pl_base

This commit is contained in:
Julien BLACHE 2011-07-01 23:51:24 +02:00
parent e2390f9d22
commit 87bd2b8ec4
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,8 @@ scan_m3u_playlist(char *file)
free(filename);
}
free(pl_base);
if (!feof(fp))
{
DPRINTF(E_LOG, L_SCAN, "Error reading playlist '%s': %s\n", file, strerror(errno));