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/objects | |
parent | 512d22283093a86c6fe36dffff7da50ffc4203a7 (diff) |
Oops. Missing NULL frees.
Diffstat (limited to 'crypto/objects')
-rw-r--r-- | crypto/objects/o_names.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/objects/o_names.c b/crypto/objects/o_names.c index 8995869587..a3b05d2dee 100644 --- a/crypto/objects/o_names.c +++ b/crypto/objects/o_names.c @@ -219,6 +219,9 @@ static int free_type; static void names_lh_free(onp,type) OBJ_NAME *onp; { + if(onp == NULL) + return; + if ((free_type < 0) || (free_type == onp->type)) { OBJ_NAME_remove(onp->name,onp->type); |