cgetstr() allocates memory to the string and sends it back to
the caller. Caller of cgetstr() is supposed to free that memory.
Sponsored by: Hewlett Packard Enterprise
MFC after: 3 days
Differential D54526
libutil: fix memory leak in login_cap Authored by khng on Jan 5 2026, 2:48 PM. Tags None Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions Your use of “Obtained from” is incorrect, unless “Hewlett Packard Enterprise” is the name of a piece of open-source software I've never heard of that has a copy of our libutil and already had this patch. You probably want to use “Sponsored by” instead.
| ||||||||||||||||||||||||||||||||||||||