From ad23c0ff30978a91dbac9772492c59065e3a420e Mon Sep 17 00:00:00 2001 From: chme Date: Sun, 8 Feb 2015 06:49:28 +0100 Subject: [PATCH] Add missing free of virtual_path for playlists --- src/db.c | 3 +++ 1 file changed, 3 insertions(+) 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