Bug or not? printf allocates buffer & never frees it

Ian Pilcher arequipeno@gmail.com
Wed Mar 17 20:29:52 GMT 2021


On 3/17/21 12:45 PM, Florian Weimer via Libc-help wrote:
> What happens if you remove the muntrace call?  I suspect you see this
> leak because you are specifically telling glibc not to log the
> deallocation.

You are correct.  Blindingly obvious in retrospect.

Thanks!

-- 
========================================================================
                  In Soviet Russia, Google searches you!
========================================================================



More information about the Libc-help mailing list