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 /crypto/err | |
parent | 6fa89f94c4452be54577eb071891d77c9e2abe16 (diff) | |
download | openssl-new-e03ddfae7ea7c27193d3f7c0eaa1d01704647d77.tar.gz |
Accept NULL in *_free.
Diffstat (limited to 'crypto/err')
-rw-r--r-- | crypto/err/err.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c index 5cf621855a..39c997aef8 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -175,6 +175,9 @@ ERR_STATE *s; { int i; + if(s == NULL) + return; + for (i=0; i<ERR_NUM_ERRORS; i++) { err_clear_data(s,i); |