git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86f47bb
)
Another memory leaks fixed (GGUS 86453)
author
Marcel Poul
<marcel.poul@cern.ch>
Mon, 29 Oct 2012 15:57:16 +0000
(15:57 +0000)
committer
Marcel Poul
<marcel.poul@cern.ch>
Mon, 29 Oct 2012 15:57:16 +0000
(15:57 +0000)
org.gridsite.core/src/grst_x509.c
patch
|
blob
|
blame
|
history
diff --git
a/org.gridsite.core/src/grst_x509.c
b/org.gridsite.core/src/grst_x509.c
index
f088637
..
99174bb
100644
(file)
--- a/
org.gridsite.core/src/grst_x509.c
+++ b/
org.gridsite.core/src/grst_x509.c
@@
-2166,7
+2166,11
@@
int GRSTx509CreateProxyRequest(char **reqtxt, char **keytxt, char *ocspurl)
X509_REQ_free(certreq);
EVP_PKEY_free(pkey);
-
+ if (ent)
+ X509_NAME_ENTRY_free(ent);
+ if (subject)
+ X509_NAME_free(subject);
+
return 0;
}
@@
-2269,6
+2273,10
@@
int GRSTx509MakeProxyRequest(char **reqtxt, char *proxydir,
X509_REQ_free(certreq);
EVP_PKEY_free(pkey);
+ if (ent)
+ X509_NAME_ENTRY_free(ent);
+ if (subject)
+ X509_NAME_free(subject);
return 0;
}