Code

mpdclient: fix crash after "clear" command
authorMax Kellermann <max@duempel.org>
Wed, 20 Jul 2011 18:47:23 +0000 (20:47 +0200)
committerMax Kellermann <max@duempel.org>
Wed, 20 Jul 2011 18:47:23 +0000 (20:47 +0200)
commit90a51a76b88eae5db01a52e2d71e277b2159bb3c
treeaa3ba9f9fa6c54b39d366975a84ab0cae0ce6319
parent6086140a91cf89a3b3f3edc01620f82ce4ee5423
mpdclient: fix crash after "clear" command

mpdclient_cmd_clear() calls playlist_clear(), which leaves a freed
pointer in c->song.  c->song is now cleared, too.
NEWS
src/mpdclient.c