Commit fd67d7f8 authored by Jean-Paul Saman's avatar Jean-Paul Saman

include/vlc_arrays.h: use unlikely()

parent 3bd2a8ea
......@@ -507,7 +507,7 @@ vlc_dictionary_all_keys( const vlc_dictionary_t * p_dict )
int i, count = vlc_dictionary_keys_count( p_dict );
ppsz_ret = (char**)malloc(sizeof(char *) * (count + 1));
if( !ppsz_ret )
if( unlikely(!ppsz_ret) )
return NULL;
count = 0;
......
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