vlc_arrays.h: Fix a bug in vlc_dictionary_remove_value_for_key, thanks to funman.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 19 Aug 2007 21:20:47 +0000 (21:20 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 19 Aug 2007 21:20:47 +0000 (21:20 +0000)
include/vlc_arrays.h

index e001d4e..f4f9dee 100644 (file)
@@ -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 );
         p_dict->p_entries[i_pos] = NULL;
+        return;
     }
 
     /* Hash collision */