pkg
pkg copied to clipboard
curl: fix openssl double free during pkg_shutdown
Fixes: https://github.com/freebsd/pkg/issues/2191
https://github.com/curl/curl/pull/12153
We should keep this until upstream curl takes this patch.
Good catch!
I think we can get rid of the at exit handler, it does not close anything really important that won't be close by the regular stop procedure if the process.
That would avoid patching bundled libcurl. (still you work on fixing libcurl in case of being used with program calling atexit is important.
What do you think?