]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshshare.c
It's a new year.
[PuTTY.git] / sshshare.c
index df64d6fe150492894a03934326c0bafddace930f..54d58a6624bfdb9b19b4d32afb37b2943e9e3751 100644 (file)
@@ -1672,6 +1672,8 @@ static void share_got_pkt_from_downstream(struct ssh_sharing_connstate *cs,
                     PUT_32BIT(recipient_id, chan->downstream_id);
                     send_packet_to_downstream(cs, SSH2_MSG_CHANNEL_FAILURE,
                                               recipient_id, 4, NULL);
+                    sfree(auth_data);
+                    break;
                 }
 
                 chan->x11_auth_proto = auth_proto;