mirror of
https://code.videolan.org/videolan/vlc
synced 2024-08-31 06:46:39 +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 */
|
/* Sort the modules and test them */
|
||||||
size_t count;
|
size_t count;
|
||||||
module_t **p_all = module_list_get (&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 */
|
/* Parse the module list for capabilities and probe each of them */
|
||||||
count = 0;
|
count = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user