On 9/12/23 20:25, Oliver Webb via Toybox wrote:
> This patch fixes a memory leak in ts by making sure it frees the pointers
> given by xgetline()
Blah, conventional getline() does a realloc() recycling the same buffer,
xgetline returns a string to be freed. I knew that. :P
Local variable
This patch fixes a memory leak in ts by making sure it frees the pointers given
by xgetline()
I knew about this leak for a few days and was planning to submit a patch for it
some time in the future,
but now that ts got promoted I feel like I should submit it sooner rather then
later
The