mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
sftp: Remove ZERO_STRUCTP from sftp_free()
The structure doesn't hold any sensitive data and this would be
optimized away anyway.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 945afaa6b4)
This commit is contained in:
@@ -267,7 +267,6 @@ void sftp_free(sftp_session sftp)
|
||||
SAFE_FREE(sftp->handles);
|
||||
|
||||
sftp_ext_free(sftp->ext);
|
||||
ZERO_STRUCTP(sftp);
|
||||
|
||||
SAFE_FREE(sftp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user