# HG changeset patch # User Sascha Wilde # Date 1396606819 -7200 # Node ID 4033c16beb04e466d59d10d72ed6865b2d9cce8d # Parent 4ffc9f31b61aef3124ba8e102666f009b11182c0 Removed accidental use of nss PORT_Free. diff -r 4ffc9f31b61a -r 4033c16beb04 cinst/mozilla.c --- 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(); }