]> git.sesse.net Git - vlc/commitdiff
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 e001d4e86e9b4e4733da97c7fc9c979584abccbf..f4f9deeeefcceb964970647b24b80aea1619d29b 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 */