X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fbio%2Fbss_acpt.c;h=ecdd1709d1779eaee7e5f43ad3aa3fea9b75b089;hp=872807d8634da863fc748357c97bcd38760c78a6;hb=8de421b6d9ee7cf72a11e35a74553fcdf1d8708f;hpb=31b8d8684441e6cd5138832bb1b2ddb10acd6ba6 diff --git a/crypto/bio/bss_acpt.c b/crypto/bio/bss_acpt.c index 872807d863..ecdd1709d1 100644 --- a/crypto/bio/bss_acpt.c +++ b/crypto/bio/bss_acpt.c @@ -173,6 +173,9 @@ BIO_ACCEPT *BIO_ACCEPT_new() void BIO_ACCEPT_free(a) BIO_ACCEPT *a; { + if(a == NULL) + return; + if (a->param_addr != NULL) Free(a->param_addr); if (a->addr != NULL) Free(a->addr); if (a->bio_chain != NULL) BIO_free(a->bio_chain);