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:
c5e91a9
)
fix leak
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 3 Dec 2012 16:33:15 +0000
(16:33 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 3 Dec 2012 16:33:15 +0000
(16:33 +0000)
apps/apps.c
patch
|
blob
|
history
diff --git
a/apps/apps.c
b/apps/apps.c
index d8d8a70acdc7554cecfdcbfe6ef2fd799fc124d9..02d76516bd1e08328c7b3306770e4cd2bdbe5827 100644
(file)
--- a/
apps/apps.c
+++ b/
apps/apps.c
@@
-2236,6
+2236,7
@@
X509_NAME *parse_name(char *subject, long chtype, int multirdn)
OPENSSL_free(ne_values);
OPENSSL_free(ne_types);
OPENSSL_free(buf);
+ OPENSSL_free(mval);
return n;
error:
@@
-2244,6
+2245,8
@@
error:
OPENSSL_free(ne_values);
if (ne_types)
OPENSSL_free(ne_types);
+ if (mval)
+ OPENSSL_free(mval);
if (buf)
OPENSSL_free(buf);
return NULL;