*improved argument checking.

This commit is contained in:
Wang Renxin 2017-04-19 20:21:04 +08:00
parent 1a9a6bea59
commit 46c2874500

View File

@ -12345,7 +12345,7 @@ _exit:
int mb_init_coll(struct mb_interpreter_t* s, void** l, mb_value_t* coll) {
int result = MB_FUNC_OK;
if(!s) {
if(!s || !coll) {
result = MB_FUNC_ERR;
goto _exit;