From 5a6be8b3ff4c47c68d92de7c6c45bba55cc67b6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kou=C5=99il?= Date: Tue, 28 Jun 2011 13:20:14 +0000 Subject: [PATCH] used proper clean-up call --- org.gridsite.core/src/grst_x509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.gridsite.core/src/grst_x509.c b/org.gridsite.core/src/grst_x509.c index 644327b..9605753 100644 --- a/org.gridsite.core/src/grst_x509.c +++ b/org.gridsite.core/src/grst_x509.c @@ -1929,7 +1929,7 @@ int GRSTx509MakeProxyCert(char **proxychain, FILE *debugfp, X509_add_ext(certs[0], pci_ex, -1); } - else free(pci_obj); + else ASN1_OBJECT_free(pci_obj); /* set issuer and subject name of the cert from the req and the CA */ -- 1.8.2.3