projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix to the -revoke option in ca. It was leaking memory, crashing and just
[openssl.git]
/
crypto
/
asn1
/
a_strnid.c
diff --git
a/crypto/asn1/a_strnid.c
b/crypto/asn1/a_strnid.c
index cb37024db22902edc19d56291c30d94230eca099..e2e100e2eb8846d52161f94c2fcd2b0f5b977c2d 100644
(file)
--- a/
crypto/asn1/a_strnid.c
+++ b/
crypto/asn1/a_strnid.c
@@
-188,6
+188,7
@@
void ASN1_STRING_TABLE_cleanup(void)
{
STACK_OF(ASN1_STRING_TABLE) *tmp;
tmp = stable;
+ if(!tmp) return;
stable = NULL;
sk_ASN1_STRING_TABLE_pop_free(tmp, st_free);
}