diff --git a/src/db.c b/src/db.c index c63eed9b..12f29c25 100644 --- a/src/db.c +++ b/src/db.c @@ -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