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/ssl_lib.c | |
parent | 6fa89f94c4452be54577eb071891d77c9e2abe16 (diff) | |
download | openssl-e03ddfae7ea7c27193d3f7c0eaa1d01704647d77.tar.gz |
Accept NULL in *_free.
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index e56233075e..9e578fd738 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -203,6 +203,9 @@ SSL *s; { int i; + if(s == NULL) + return; + i=CRYPTO_add(&s->references,-1,CRYPTO_LOCK_SSL); #ifdef REF_PRINT REF_PRINT("SSL",s); |