Create a function to free the memory allocated when calling
var_Change(VLC_VAR_GETCHOICES). The memory was freed by a call to var_Change(VLC_VAR_FREELIST). That's not a good idea as we were doing a lookup just to free some memory.
Showing with 52 additions and 66 deletions