libssh2_knownhost_del: fix write to freed memory.
libssh2_knownhost_del: fix write to freed memory.

When removing a known host, libssh2_knownhost_del would remove the node from the linked list, free its memory and then overwrite the struct parameter (which indicated which node to remove) with 0.  However, this struct is actually allocated within the just-freed node meaning we're writing to freed memory.  This made Windows very upset.

The fix is simply to overwrite the struct first before freeing the memory.

libssh2/libssh2,libssh2/libssh2,libssh2/libssh2,libssh2/libssh2