sftp_server_free function was added in 0.9 version of libssh and is required to avoid memory leaks when clients are disconnecting. Issue #4258