mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
FS-4004 --resolve
Thanks to Kyle A. King for pointing this out and to William King for collaboration.
This commit is contained in:
parent
d8d4d2086e
commit
b186944049
@ -1270,6 +1270,11 @@ static switch_status_t switch_loadable_module_load_file(char *path, char *filena
|
||||
break;
|
||||
}
|
||||
|
||||
if (!module_interface) {
|
||||
err = "Module failed to initialize its module_interface. Is this a valid module?";
|
||||
break;
|
||||
}
|
||||
|
||||
if ((module = switch_core_alloc(pool, sizeof(switch_loadable_module_t))) == 0) {
|
||||
err = "Could not allocate memory\n";
|
||||
abort();
|
||||
|
Loading…
x
Reference in New Issue
Block a user