Add missing free of virtual_path for playlists

This commit is contained in:
chme 2015-02-08 06:49:28 +01:00
parent 0c936c9bea
commit ad23c0ff30
1 changed files with 3 additions and 0 deletions

View File

@ -482,6 +482,9 @@ free_pli(struct playlist_info *pli, int content_only)
if (pli->path)
free(pli->path);
if (pli->virtual_path)
free(pli->virtual_path);
if (!content_only)
free(pli);
else