Bug 3540

Summary: fix minor memory leak for kex_names_cat() returned string
Product: Portable OpenSSH Reporter: Michael Rash <mbr>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: NEW ---    
Severity: minor CC: mbr
Priority: P5    
Version: 9.1p1   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch to fix minor memory leak for kex_names_cat() returned string none

Description Michael Rash 2023-02-16 12:31:25 AEDT
Created attachment 3678 [details]
patch to fix minor memory leak for kex_names_cat() returned string

The caller of kex_names_cat() should free the returned string (as documented in the comment above the kex_names_cat() function definition).