Fixed memory leak in sftp_fstat().
This commit is contained in:
parent
1e350754f6
commit
f07cf3afd3
@ -1618,6 +1618,7 @@ static int sftp_fstat(LIBSSH2_SFTP_HANDLE *handle,
|
||||
}
|
||||
|
||||
sftp_bin2attr(attrs, data + 5);
|
||||
LIBSSH2_FREE(session, data);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user