changeset 312:4033c16beb04

Removed accidental use of nss PORT_Free.
author Sascha Wilde <wilde@intevation.de>
date Fri, 04 Apr 2014 12:20:19 +0200
parents 4ffc9f31b61a
children f17226aa2e09
files cinst/mozilla.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cinst/mozilla.c	Fri Apr 04 10:06:18 2014 +0200
+++ b/cinst/mozilla.c	Fri Apr 04 12:20:19 2014 +0200
@@ -435,7 +435,6 @@
           (CERT_ChangeCertTrust(CERT_GetDefaultCertDB(), cert, trust)
            == SECSuccess))
         {
-
           success = true;
         }
       else
@@ -443,7 +442,7 @@
           DEBUGPRINTF("Failed to install certificate '%s' to '%s'!\n", cert_name, pdir);
         }
       CERT_DestroyCertificate (cert);
-      PORT_Free(trust);
+      free(trust);
       PK11_FreeSlot(pk11slot);
       NSS_Shutdown();
     }

http://wald.intevation.org/projects/trustbridge/