From e0a6a4e64cda5b8e64ec8fc3d7fb6fbb37478cc5 Mon Sep 17 00:00:00 2001 From: "j-h.choi" Date: Wed, 12 Feb 2020 10:25:02 +0900 Subject: [PATCH] Fixed svace.(HANDLE_LEAK.EX) --- NativeLauncher/hydra/hydra_main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/NativeLauncher/hydra/hydra_main.cc b/NativeLauncher/hydra/hydra_main.cc index 94e893d..8312415 100644 --- a/NativeLauncher/hydra/hydra_main.cc +++ b/NativeLauncher/hydra/hydra_main.cc @@ -101,6 +101,7 @@ int main(int argc, char** argv) launcher_real_main_ptr realMain = (launcher_real_main_ptr)dlsym(launcher_h, "realMain"); if (realMain == nullptr) { _DBG("realMain is not found in the dotnet-launcher"); + dlclose(launcher_h); return -1; } -- 2.7.4