comparison cinst/mozilla.c @ 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 b832231640ab
comparison
equal deleted inserted replaced
311:4ffc9f31b61a 312:4033c16beb04
433 cert_name, PR_FALSE) 433 cert_name, PR_FALSE)
434 == SECSuccess) && 434 == SECSuccess) &&
435 (CERT_ChangeCertTrust(CERT_GetDefaultCertDB(), cert, trust) 435 (CERT_ChangeCertTrust(CERT_GetDefaultCertDB(), cert, trust)
436 == SECSuccess)) 436 == SECSuccess))
437 { 437 {
438
439 success = true; 438 success = true;
440 } 439 }
441 else 440 else
442 { 441 {
443 DEBUGPRINTF("Failed to install certificate '%s' to '%s'!\n", cert_name, pdir); 442 DEBUGPRINTF("Failed to install certificate '%s' to '%s'!\n", cert_name, pdir);
444 } 443 }
445 CERT_DestroyCertificate (cert); 444 CERT_DestroyCertificate (cert);
446 PORT_Free(trust); 445 free(trust);
447 PK11_FreeSlot(pk11slot); 446 PK11_FreeSlot(pk11slot);
448 NSS_Shutdown(); 447 NSS_Shutdown();
449 } 448 }
450 else 449 else
451 { 450 {

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