projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcaa36f
)
Update from stable branch.
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 30 Nov 2008 16:09:04 +0000
(16:09 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 30 Nov 2008 16:09:04 +0000
(16:09 +0000)
crypto/x509v3/v3_alt.c
patch
|
blob
|
history
diff --git
a/crypto/x509v3/v3_alt.c
b/crypto/x509v3/v3_alt.c
index e9e7c4a65b6140e57bd7dd7e4ee46321764e0d18..19b3a8b628e68849f7e30cc1702501cc6e31d780 100644
(file)
--- a/
crypto/x509v3/v3_alt.c
+++ b/
crypto/x509v3/v3_alt.c
@@
-513,7
+513,8
@@
GENERAL_NAME *a2i_GENERAL_NAME(GENERAL_NAME *out,
return gen;
err:
- GENERAL_NAME_free(gen);
+ if (!out)
+ GENERAL_NAME_free(gen);
return NULL;
}