Browse Source
Instead of getting all the dictionary keys, and iterating over them to get the associated values, only to free/release the associated data; use vlc_dictionary_clear together with a callback to handle the work for us. These changes also fixes a potential null-pointer dereference if the previous usage of vlc_dictionary_all_keys failed. Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>pull/57/head
committed by
Rémi Denis-Courmont
1 changed files with 9 additions and 10 deletions
Loading…
Reference in new issue