Commit 325cfa85 authored by Kurt Roeckx's avatar Kurt Roeckx
Browse files

Don't compare a just free()d pointer



Found by tis-interpreter

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>

GH: #1173
parent 4b68cb41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -948,9 +948,9 @@ void SSL_free(SSL *s)
        BIO_free(s->bbio);
        s->bbio = NULL;
    }
    BIO_free_all(s->rbio);
    if (s->wbio != s->rbio)
        BIO_free_all(s->wbio);
    BIO_free_all(s->rbio);

    BUF_MEM_free(s->init_buf);