fix vlc memleak