commit | 956534e02ef280795a187c16f6ac04e107f23c5d | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Tue Aug 04 19:27:13 2020 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Tue Aug 04 19:27:13 2020 +0200 |
tree | 4f1d05b03d78deff0eef3ce766f4f1812cc47a56 | |
parent | 8e7c20a1af8776677d7890f30b7a180567701a49 [diff] |
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 https://github.com/sparklemotion/nokogiri/issues/2059 Only clean up if memory is managed with malloc/free.