mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-06 18:29:50 +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>
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