aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c
index f4a4991ec..37c2aeb5c 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -1349,6 +1349,8 @@ int deletePlaylist(FILE * fp, char *utf8file)
strcat(rfile, ".");
strcat(rfile, PLAYLIST_FILE_SUFFIX);
+ free(file);
+
if ((actualFile = rpp2app(rfile)) && isPlaylist(actualFile))
free(rfile);
else {