return null when dynld_module fails to load library
This commit is contained in:
@@ -356,6 +356,8 @@ void* dynld_module(const char *name, dllimp_t *table)
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
return lib.release();
|
return lib.release();
|
||||||
|
Reference in New Issue
Block a user