Fix crash when dlopen NULL (#1903)
This commit is contained in:
parent
0e2d2b6993
commit
c5c81377a5
|
|
@ -101,7 +101,7 @@ namespace lspd {
|
|||
} else {
|
||||
ns = "NULL";
|
||||
}
|
||||
LOGD("native_api: do_dlopen({})", name);
|
||||
LOGD("native_api: do_dlopen({})", ns);
|
||||
if (handle == nullptr) {
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue