From: Daniel KouĊ™il Date: Tue, 28 Jun 2011 13:20:14 +0000 (+0000) Subject: used proper clean-up call X-Git-Tag: gridsite-core_R_1_7_15~5 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=5a6be8b3ff4c47c68d92de7c6c45bba55cc67b6a;p=jra1mw.git used proper clean-up call --- 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 */