| author | Max Kellermann <max@duempel.org> | |
| Wed, 17 Sep 2008 05:21:30 +0000 (07:21 +0200) | ||
| committer | Max Kellermann <max@duempel.org> | |
| Wed, 17 Sep 2008 05:21:30 +0000 (07:21 +0200) | ||
| commit | 5fb495639feb4d6789cfc95358fd5ffd95bd871a | |
| tree | 0c690ae9b7276325527665049312e469e3d08bdf | tree | snapshot |
| parent | ba041d04c209850ef7cd42077c392d6e54bb235f | commit | diff |
mpdclient: call playlist_clear() in mpdclient_playlist_update()
Instead of freeing the playlist with mpdclient_playlist_free(), call
playlist_clear() to empty the song list. This fixes a segmentation
fault which occured when you cleared the playlist.
Instead of freeing the playlist with mpdclient_playlist_free(), call
playlist_clear() to empty the song list. This fixes a segmentation
fault which occured when you cleared the playlist.
| src/mpdclient.c | diff | blob | history |