> On May 24, 2016, at 11:49, Conrad Meyer wrote:
>
> On Tue, May 24, 2016 at 11:44 AM, Garrett Cooper wrote:
>> Author: ngie
>> Date: Tue May 24 18:44:50 2016
>> New Revision: 300620
>> URL: https://svnweb.freebsd.org/changeset/base/300620
>>
>> Log:
>> Use reallocf instead of malloc to fix l
On Tue, May 24, 2016 at 11:44 AM, Garrett Cooper wrote:
> Author: ngie
> Date: Tue May 24 18:44:50 2016
> New Revision: 300620
> URL: https://svnweb.freebsd.org/changeset/base/300620
>
> Log:
> Use reallocf instead of malloc to fix leak with outbuf_pmap
>
> ...
>
> Add a outbuf_pmap = NULL in
Author: ngie
Date: Tue May 24 18:44:50 2016
New Revision: 300620
URL: https://svnweb.freebsd.org/changeset/base/300620
Log:
Use reallocf instead of malloc to fix leak with outbuf_pmap
The previous code overwrote outbuf_pmap's memory with malloc once per
loop iteration, which leaked its me