[Bug 259294] [libc] add a freeres function

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Dec 2021 13:29:50 UTC

--- Comment #3 from Paul Floyd <pjfloyd@wanadoo.fr> ---
Created attachment 229927
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229927&action=edit

Initial prototype. makebuf is where the memory for stdout gets allocated, so I
put freeres there. If there are other buffers that I don't know of then maybe a
different/new file would be better.

This probably needs protection against being called twice.

No changes needed on the Valgrind side for this!

You are receiving this mail because:
You are the assignee for the bug.