Merge pull request #5 from Trisia/main

内存释放错误
This commit is contained in:
Zhi Guan
2021-08-30 14:05:56 +08:00
committed by GitHub

View File

@@ -103,7 +103,7 @@ end:
void SDF_METHOD_free(SDF_METHOD *meth)
{
if (meth) free(meth->dso);
if (meth) dlclose(meth->dso);
free(meth);
}