HomeFreeBSD

ctld: Consistently free temporary strings during yacc parsing

Description

ctld: Consistently free temporary strings during yacc parsing

The lexer always allocates a duplicate string via strdup for STR
tokens. The parse handlers did not always free these duplicated
strings after consuming them.

Reviewed by: asomers
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D48929

Details

Provenance
jhbAuthored on Feb 12 2025, 7:26 PM
Reviewer
asomers
Differential Revision
D48929: ctld: Consistently free temporary strings during yacc parsing
Parents
rG450a84c292ae: ctld: Some bool-related cleanups
Branches
Unknown
Tags
Unknown