diff options
author | Ben Laurie <ben@openssl.org> | 1999-01-07 19:15:59 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-01-07 19:15:59 +0000 |
commit | e03ddfae7ea7c27193d3f7c0eaa1d01704647d77 (patch) | |
tree | 7cf2e8444b222a3a52c4735e0415916bb81c4494 /ssl/s2_lib.c | |
parent | 6fa89f94c4452be54577eb071891d77c9e2abe16 (diff) | |
download | openssl-e03ddfae7ea7c27193d3f7c0eaa1d01704647d77.tar.gz |
Accept NULL in *_free.
Diffstat (limited to 'ssl/s2_lib.c')
-rw-r--r-- | ssl/s2_lib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c index 51f686128f..097c35ee68 100644 --- a/ssl/s2_lib.c +++ b/ssl/s2_lib.c @@ -257,6 +257,9 @@ SSL *s; { SSL2_CTX *s2; + if(s == NULL) + return; + s2=s->s2; if (s2->rbuf != NULL) Free(s2->rbuf); if (s2->wbuf != NULL) Free(s2->wbuf); |