playlist: fix callback leak
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 16 Aug 2014 09:51:41 +0000 (12:51 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 16 Aug 2014 10:06:13 +0000 (13:06 +0300)
commit9501e5253932c9a7f40d31c0f4fea2c6d26cfdd2
treedb522afe66406a4c793e15228d73aec65ad80170
parent9e7dd0b49fe1d7858c344939072bbe9555f800c2
playlist: fix callback leak

Note that we cannot hold the playlist lock while removing the callback,
since the callback function takes the playlist lock.
src/playlist/thread.c