[PATCH 3 of 5] Add comment about a leak in NSS

Wald Commits scm-commit at wald.intevation.org
Tue Aug 26 17:04:41 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1409065398 -7200
# Node ID 56ca8f2fd4330494eaa9f626f24ba2db46561645
# Parent  76c410aff3821f59e98af6ad2ebd60f719c44eb2
Add comment about a leak in NSS

diff -r 76c410aff382 -r 56ca8f2fd433 cinst/mozilla.c
--- a/cinst/mozilla.c	Tue Aug 26 17:03:03 2014 +0200
+++ b/cinst/mozilla.c	Tue Aug 26 17:03:18 2014 +0200
@@ -363,6 +363,9 @@
 
           DEBUGPRINTF("Found certificate \"%s\"\n", name);
         }
+      /* According to valgrind this leaks memory in the list.
+         We could not find API documentation to better free this
+         so we accept the leakage here in case of debug. */
       CERT_DestroyCertList(list);
       NSS_Shutdown();
     }


More information about the Trustbridge-commits mailing list