libvlc: player: detach listener on destroy
commit6e4ea0ff1a529780ad3267227ff1a0f6555815aa
authorRomain Vimont <rom1v@videolabs.io>
Mon, 17 Jun 2019 09:44:00 +0000 (17 11:44 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 18 Jun 2019 10:16:29 +0000 (18 12:16 +0200)
tree95e3feda88253206175ddeedb00a81b898c23352
parent8e11727b939014cc5069f9405942fdf442365838
libvlc: player: detach listener on destroy

Fix possible segfault, when receiving the preparsed event after the
libvlc_media_t instance was deleted.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
lib/media_player.c