libvlc: fix a memory leak