Re: [hackers] [sbase][PATCH 3/4] ed: Fix double-free in join
Hi,
On Sun, Nov 23, 2025 at 11:17:28AM +0100, Страхиња Радић wrote:
> Maybe instead of removing that line, do something like:
>
> free(s.str);
> s.str = NULL;
>
> so the next call to free(3) will just silently return?
I personally prefer just removing the line, because it avoids
handling with internal details of String.
Regards,
Received on Wed Nov 26 2025 - 13:14:22 CET
This archive was generated by hypermail 2.3.0
: Wed Nov 26 2025 - 13:24:36 CET