From a05bee622e8be4f74460077e92b18547764e39fc Mon Sep 17 00:00:00 2001 From: wangzeyu Date: Fri, 8 Nov 2024 17:10:03 +0800 Subject: [PATCH] fix SKF_METHOD_free close handle issue Signed-off-by: wangzeyu --- src/skf/skf_meth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/skf/skf_meth.c b/src/skf/skf_meth.c index 5a9b49c18..8267266de 100755 --- a/src/skf/skf_meth.c +++ b/src/skf/skf_meth.c @@ -132,6 +132,6 @@ SKF_METHOD *SKF_METHOD_load_library(const char *so_path) void SKF_METHOD_free(SKF_METHOD *meth) { if (meth) - free(meth->dso); + dylib_close_library(meth->dso); free(meth); }