提交 b1869440 authored 作者: Travis Cross's avatar Travis Cross

FS-4004 --resolve

Thanks to Kyle A. King for pointing this out and to William King for
collaboration.
上级 d8d4d208
......@@ -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();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论