HomeFreeBSD

Fix memory leak caused by not freeing memory returned by cgetstr()
rS25709Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Fix memory leak caused by not freeing memory returned by cgetstr()
calls. The cost is a little more up-front memory allocation, but the
effect seems minimal.

Problem noticed-by: bde

Added syslog at LOG_ERR when referencing an unknown gettytab entry
and for other cgetent() failues (circular reference et al).

To be merged into 2.2 after a few days testing.

Details

Provenance
davidnAuthored on
Parents
rS25708: YAMFC: Create ttyXX.if and tunX.pid irrespective of
Branches
Unknown
Tags
Unknown

Event Timeline