Commit 72a9cd36 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Missing error check

parent 74de9069
......@@ -252,7 +252,7 @@ module_t *vlc_module_load(vlc_object_t *p_this, const char *psz_capability,
/* Sort the modules and test them */
size_t count;
module_t **p_all = module_list_get (&count);
p_list = malloc( count * sizeof( module_list_t ) );
p_list = xmalloc( count * sizeof( module_list_t ) );
/* Parse the module list for capabilities and probe each of them */
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