Sync
authorAndrew McNab <andrew.mcnab@manchester.ac.uk>
Tue, 2 Nov 2010 15:56:09 +0000 (15:56 +0000)
committerAndrew McNab <andrew.mcnab@manchester.ac.uk>
Tue, 2 Nov 2010 15:56:09 +0000 (15:56 +0000)
org.gridsite.core/CHANGES
org.gridsite.core/src/grst_x509.c

index fafaf4d..83fde3f 100644 (file)
@@ -1,3 +1,5 @@
+* Tue Nov 2 2010 Andrew McNab <Andrew.McNab@cern.ch>
+- Fix free of grst->serial string in grst_x509.c
 * Wed Oct 29 2010 Andrew McNab <Andrew.McNab@cern.ch>
 - ==== GridSite version 1.7.8 ====
 * Tue Oct 12 2010 Andrew McNab <Andrew.McNab@cern.ch>
index e3a5818..4af2a2e 100644 (file)
@@ -176,7 +176,6 @@ int GRSTx509ChainFree(GRSTx509Chain *chain)
         grst_cert = next_grst_cert;
         
         if (grst_cert->issuer != NULL) free(grst_cert->issuer);
-        if (grst_cert->serial != NULL) free(grst_cert->serial);
         if (grst_cert->dn     != NULL) free(grst_cert->dn);
         if (grst_cert->value  != NULL) free(grst_cert->value);
         if (grst_cert->ocsp   != NULL) free(grst_cert->ocsp);