Fixed memory leak in sftp_fstat().

This commit is contained in:
Daniel Stenberg 2009-11-24 14:45:46 +00:00 committed by Alexander Lamaison
parent 1e350754f6
commit f07cf3afd3

View File

@ -1618,6 +1618,7 @@ static int sftp_fstat(LIBSSH2_SFTP_HANDLE *handle,
}
sftp_bin2attr(attrs, data + 5);
LIBSSH2_FREE(session, data);
return 0;
}