projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The new ASN1 code automatically allocates
[openssl.git]
/
crypto
/
x509v3
/
v3_info.c
diff --git
a/crypto/x509v3/v3_info.c
b/crypto/x509v3/v3_info.c
index 7f17f3231d11402455f66ffb116ec38e015f3efa..e1cf01a9b46830ad2137809a6b0a36d6522437f5 100644
(file)
--- a/
crypto/x509v3/v3_info.c
+++ b/
crypto/x509v3/v3_info.c
@@
-158,6
+158,7
@@
static AUTHORITY_INFO_ACCESS *v2i_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *metho
objlen = ptmp - cnf->name;
ctmp.name = ptmp + 1;
ctmp.value = cnf->value;
+ GENERAL_NAME_free(acc->location);
if(!(acc->location = v2i_GENERAL_NAME(method, ctx, &ctmp)))
goto err;
if(!(objtmp = OPENSSL_malloc(objlen + 1))) {