return null when dynld_module fails to load library

This commit is contained in:
Joakim L. Gilje
2021-11-30 20:20:53 +01:00
parent 6fb22514fa
commit 4cd5cb76d9

View File

@@ -356,6 +356,8 @@ void* dynld_module(const char *name, dllimp_t *table)
return nullptr;
}
}
} else {
return nullptr;
}
return lib.release();