Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for custom free function in global destructor
Calling a custom deallocation function in the global destructor could cause all kinds of unexpected problems. See for example sparklemotion/nokogiri#2059 Only clean up if memory is managed with malloc/free.
- Loading branch information