aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/storedPlaylist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/storedPlaylist.c b/src/storedPlaylist.c
index 15705d278..4187b5526 100644
--- a/src/storedPlaylist.c
+++ b/src/storedPlaylist.c
@@ -303,7 +303,6 @@ int moveSongInStoredPlaylistByPath(int fd, const char *utf8path, int src, int de
StoredPlaylist *sp = loadStoredPlaylist(utf8path, fd);
if (!sp) {
commandError(fd, ACK_ERROR_UNKNOWN, "could not open playlist");
- freeStoredPlaylist(sp);
return -1;
}
@@ -369,7 +368,6 @@ int removeOneSongFromStoredPlaylistByPath(int fd, const char *utf8path, int pos)
StoredPlaylist *sp = loadStoredPlaylist(utf8path, fd);
if (!sp) {
commandError(fd, ACK_ERROR_UNKNOWN, "could not open playlist");
- freeStoredPlaylist(sp);
return -1;
}