mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-11 06:21:30 +02:00
Missing error check
This commit is contained in:
parent
74de906998
commit
72a9cd361c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user