mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-06 16:36:16 +08:00
fix: use dylib_close_library, not free to close dynamic lib
This commit is contained in:
@@ -97,7 +97,7 @@ end:
|
||||
|
||||
void SDF_METHOD_free(SDF_METHOD *meth)
|
||||
{
|
||||
if (meth) free(meth->dso);
|
||||
if (meth) dylib_close_library(meth->dso);
|
||||
free(meth);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user