Skip to content

Commit

Permalink
fix SKF_METHOD_free close handle issue
Browse files Browse the repository at this point in the history
Signed-off-by: wangzeyu <[email protected]>
  • Loading branch information
zeyusteel committed Nov 8, 2024
1 parent 34fa519 commit a05bee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/skf/skf_meth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit a05bee6

Please sign in to comment.