summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui.c b/src/ui.c
index 8543018..d5def60 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -894,6 +894,8 @@ void BarUiHistoryPrepend (BarApp_t *app, PianoSong_t *song) {
PianoDestroyPlaylist (delSong);
}
}
+ } else {
+ PianoDestroyPlaylist (song);
}
}