Remove call of `OSDynLoad_Release` for handles that have not been acquired

This commit is contained in:
Maschell 2022-12-30 18:37:26 +01:00
parent 9ad95fe6a8
commit c719b4c8ac
1 changed files with 0 additions and 1 deletions

View File

@ -55,7 +55,6 @@ void FunctionAddressProvider::resetHandles() {
for (int32_t i = 0; i < rpl_handles_size; i++) {
if (rpl_handles[i].handle != nullptr) {
DEBUG_FUNCTION_LINE_VERBOSE("Resetting handle for rpl: %s", rpl_handles[i].rplname);
OSDynLoad_Release(rpl_handles[i].handle);
}
rpl_handles[i].handle = nullptr;