Bug 3540 - fix minor memory leak for kex_names_cat() returned string
Summary: fix minor memory leak for kex_names_cat() returned string
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 9.1p1
Hardware: All All
: P5 minor
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-16 12:31 AEDT by Michael Rash
Modified: 2023-02-16 12:32 AEDT (History)
1 user (show)

See Also:


Attachments
patch to fix minor memory leak for kex_names_cat() returned string (593 bytes, application/octet-stream)
2023-02-16 12:31 AEDT, Michael Rash
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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).