From b54413ba2b4dfca769e01104a690c770b937eaf2 Mon Sep 17 00:00:00 2001 From: Andrew McNab Date: Tue, 2 Nov 2010 15:56:09 +0000 Subject: [PATCH] Sync --- org.gridsite.core/CHANGES | 2 ++ org.gridsite.core/src/grst_x509.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/org.gridsite.core/CHANGES b/org.gridsite.core/CHANGES index fafaf4d..83fde3f 100644 --- a/org.gridsite.core/CHANGES +++ b/org.gridsite.core/CHANGES @@ -1,3 +1,5 @@ +* Tue Nov 2 2010 Andrew McNab +- Fix free of grst->serial string in grst_x509.c * Wed Oct 29 2010 Andrew McNab - ==== GridSite version 1.7.8 ==== * Tue Oct 12 2010 Andrew McNab diff --git a/org.gridsite.core/src/grst_x509.c b/org.gridsite.core/src/grst_x509.c index e3a5818..4af2a2e 100644 --- a/org.gridsite.core/src/grst_x509.c +++ b/org.gridsite.core/src/grst_x509.c @@ -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); -- 1.8.2.3