ssh: move NULL check to the free function
Let `ssh_stream_free()` take a NULL stream, as free functions should, and remove the check from the connection setup. The connection setup would not need the check anyhow, as we always have a stream by the time we reach this code.
Showing
Please
register
or
sign in
to comment