mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Fix major memory leak in sftp_cmd_ls (thanks to Hans-Juergen Petrich
for pointing it out). [originally from svn r1612]
This commit is contained in:
6
sftp.h
6
sftp.h
@ -174,3 +174,9 @@ struct fxp_names *fxp_readdir(struct fxp_handle *handle);
|
||||
* Free up an fxp_names structure.
|
||||
*/
|
||||
void fxp_free_names(struct fxp_names *names);
|
||||
|
||||
/*
|
||||
* Duplicate and free fxp_name structures.
|
||||
*/
|
||||
struct fxp_name *fxp_dup_name(struct fxp_name *name);
|
||||
void fxp_free_name(struct fxp_name *name);
|
||||
|
Reference in New Issue
Block a user