mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-10 16:03:48 +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)
|
void SDF_METHOD_free(SDF_METHOD *meth)
|
||||||
{
|
{
|
||||||
if (meth) free(meth->dso);
|
if (meth) dylib_close_library(meth->dso);
|
||||||
free(meth);
|
free(meth);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user