On 10/19/2018 10:15 AM, Daniel Stenberg via curl-library wrote:
On Fri, 19 Oct 2018, Gabriel Zachmann wrote:
memory before the pointer it returns.
I attached some code that should be capable of doing so.
If clearing the memory just before free is all that's necessary, I
suppose an alternative option is to link in a malloc replacement that
does exactly this.
Please no.
There must be a way to fire off a thread to clear the memory and then
free it and maybe call it clear_free() or some trivial but blunt trauma
approach which works without a malloc/calloc replacement.
Dennis
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html