Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Dec 2021 13:29:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259294] [libc] add a freeres function
Message-ID:  <bug-259294-227-c5fKl3UVzX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259294-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259294-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259294

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

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

This probably needs protection against being called twice.

No changes needed on the Valgrind side for this!

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259294-227-c5fKl3UVzX>