Fix crash when dlopen NULL (#1903)

This commit is contained in:
Acetylcholine 2022-04-29 11:15:43 +08:00 committed by GitHub
parent 0e2d2b6993
commit c5c81377a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}