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