Commit 6f793516 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

vlc_arrays.h: Fix a bug in vlc_dictionary_remove_value_for_key, thanks to funman.

parent a2d3b291
...@@ -503,6 +503,7 @@ vlc_dictionary_remove_value_for_key( const vlc_dictionary_t * p_dict, const char ...@@ -503,6 +503,7 @@ vlc_dictionary_remove_value_for_key( const vlc_dictionary_t * p_dict, const char
free( p_entry->psz_key ); free( p_entry->psz_key );
free( p_entry ); free( p_entry );
p_dict->p_entries[i_pos] = NULL; p_dict->p_entries[i_pos] = NULL;
return;
} }
/* Hash collision */ /* Hash collision */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment