Code

free info entity while iterating
authorMax Kellermann <max@duempel.org>
Mon, 15 Sep 2008 11:27:33 +0000 (13:27 +0200)
committerMax Kellermann <max@duempel.org>
Mon, 15 Sep 2008 11:27:33 +0000 (13:27 +0200)
commit3da600fbb0c33ec5cfb76e5341cf21c160592202
tree1bce6e91b790fce761352a6100445978d6ad9717
parent3ef31f6e0c13aa7b2ebd1fcacd7e1aa3ac560ba5
free info entity while iterating

Memory leak: the function mpdclient_playlist_update_changes() did not
free the entity which was returned by mpd_getNextInfoEntity().  Add a
mpd_freeInfoEntity() call at the end of each iteration.
src/mpdclient.c