diff options
author | Ben Laurie <ben@openssl.org> | 1999-01-17 14:19:31 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-01-17 14:19:31 +0000 |
commit | f9e6fac357a42cdcc1b838582825aedad7c920e4 (patch) | |
tree | f074be2949b6f7304c5da6a17e372ca6e325fc90 /crypto/lhash | |
parent | 512d22283093a86c6fe36dffff7da50ffc4203a7 (diff) | |
download | openssl-f9e6fac357a42cdcc1b838582825aedad7c920e4.zip openssl-f9e6fac357a42cdcc1b838582825aedad7c920e4.tar.gz openssl-f9e6fac357a42cdcc1b838582825aedad7c920e4.tar.bz2 |
Oops. Missing NULL frees.
Diffstat (limited to 'crypto/lhash')
-rw-r--r-- | crypto/lhash/lhash.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/lhash/lhash.c b/crypto/lhash/lhash.c index c8c29a8..73d5fdc 100644 --- a/crypto/lhash/lhash.c +++ b/crypto/lhash/lhash.c @@ -176,6 +176,9 @@ LHASH *lh; unsigned int i; LHASH_NODE *n,*nn; + if(lh == NULL) + return; + for (i=0; i<lh->num_nodes; i++) { n=lh->b[i]; |