Skip to content
Snippets Groups Projects
Commit 804f49e2 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

when loadable modules are disabled, if someone tries to load a module that...

when loadable modules are disabled, if someone tries to load a module that does not exist, don't dereference a NULL pointer, just stop trying to load it...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 74fb27c1
No related branches found
No related tags found
No related merge requests found
......@@ -587,6 +587,8 @@ static enum ast_module_load_result load_resource(const char *resource_name, unsi
return AST_MODULE_LOAD_SKIP;
}
}
#else
return AST_MODULE_LOAD_DECLINE;
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment