-
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>
a1963944