used proper clean-up call
authorDaniel Kouřil <kouril@ics.muni.cz>
Tue, 28 Jun 2011 13:20:14 +0000 (13:20 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Tue, 28 Jun 2011 13:20:14 +0000 (13:20 +0000)
org.gridsite.core/src/grst_x509.c

index 644327b..9605753 100644 (file)
@@ -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 */