mirror of
https://github.com/libssh2/libssh2.git
synced 2025-10-31 23:30:25 +03:00
Fixed memory leak in sftp_fstat().
This commit is contained in:
committed by
Alexander Lamaison
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user