From c719b4c8ac6abc3bd489334b7079cb03bee09f60 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 30 Dec 2022 18:37:26 +0100 Subject: [PATCH] Remove call of `OSDynLoad_Release` for handles that have not been acquired --- source/FunctionAddressProvider.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/FunctionAddressProvider.cpp b/source/FunctionAddressProvider.cpp index 501d9ba..2b2ccde 100644 --- a/source/FunctionAddressProvider.cpp +++ b/source/FunctionAddressProvider.cpp @@ -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;