From: Marcel Poul Date: Thu, 27 Sep 2012 15:17:22 +0000 (+0000) Subject: Fixed memory leaks in libgridsite (GGUS 86453) X-Git-Tag: gridsite-core_R_1_7_23~15 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=ef95a5f865ba1b1ef4bc8fb3fcddef756d95a3a7;p=jra1mw.git Fixed memory leaks in libgridsite (GGUS 86453) --- diff --git a/org.gridsite.core/src/grst_x509.c b/org.gridsite.core/src/grst_x509.c index 4e1760f..f088637 100644 --- a/org.gridsite.core/src/grst_x509.c +++ b/org.gridsite.core/src/grst_x509.c @@ -2165,6 +2165,7 @@ int GRSTx509CreateProxyRequest(char **reqtxt, char **keytxt, char *ocspurl) BIO_free(reqmem); X509_REQ_free(certreq); + EVP_PKEY_free(pkey); return 0; } @@ -2267,6 +2268,7 @@ int GRSTx509MakeProxyRequest(char **reqtxt, char *proxydir, BIO_free(reqmem); X509_REQ_free(certreq); + EVP_PKEY_free(pkey); return 0; }