diff options
Diffstat (limited to 'src/screen_song.c')
-rw-r--r-- | src/screen_song.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/screen_song.c b/src/screen_song.c index 7dd9b5798..202025ee8 100644 --- a/src/screen_song.c +++ b/src/screen_song.c @@ -35,6 +35,11 @@ screen_song_clear(void) g_free(g_ptr_array_index(current.lines, i)); g_ptr_array_set_size(current.lines, 0); + + if (current.song != NULL) { + mpd_freeSong(current.song); + current.song = NULL; + } } static void |