[RFA] Fix leak in linespec.c
Philippe Waroquiers
philippe.waroquiers@skynet.be
Wed Jan 9 03:35:00 GMT 2019
On Tue, 2019-01-08 at 23:39 +0000, Simon Marchi wrote:
> ... so you are adding the equivalent of the first cleanup.
>
> It would be nice to be able to free the suffix strings in linespec_state_destructor, the
> only problem is that we don't know the size of the canonical_names array at that point.
>
> Anyway, LGTM, thanks!
>
> Simon
Thanks, pushed.
Philippe
More information about the Gdb-patches
mailing list