зеркало из https://github.com/mozilla/pjs.git
Bugzilla Bug 282367: Export CERT_DestroyUserNotice from the nss shared
library. Added a CERT_DestroyUserNotice call to cmd/lib/pppolicy.c to fix a leak of CERTUserNotice. r=nelsonb. Modified Files: lib/nss/nss.def cmd/lib/pppolicy.c
This commit is contained in:
Родитель
6b5147dd71
Коммит
fc1d2da739
|
@ -37,7 +37,7 @@
|
|||
/*
|
||||
* Support for various policy related extensions
|
||||
*
|
||||
* $Id: pppolicy.c,v 1.2 2004-04-25 15:02:46 gerv%gerv.net Exp $
|
||||
* $Id: pppolicy.c,v 1.3 2005-02-22 20:02:22 wtchang%redhat.com Exp $
|
||||
*/
|
||||
|
||||
#include "seccomon.h"
|
||||
|
@ -192,6 +192,7 @@ secu_PrintUserNoticeQualifier(FILE *out, SECItem * qualifierValue,
|
|||
SECU_PrintString(out,&userNotice->displayText,
|
||||
"Display Text", level+1);
|
||||
}
|
||||
CERT_DestroyUserNotice(userNotice);
|
||||
return SECSuccess;
|
||||
}
|
||||
return SECFailure; /* caller will print this value */
|
||||
|
|
|
@ -820,6 +820,7 @@ CERT_DecodeAuthKeyID;
|
|||
CERT_DecodeCRLDistributionPoints;
|
||||
CERT_DecodeNameConstraintsExtension;
|
||||
CERT_DecodePrivKeyUsagePeriodExtension;
|
||||
CERT_DestroyUserNotice;
|
||||
CERT_GetCertificateNames;
|
||||
CERT_GetNextGeneralName;
|
||||
CERT_GetNextNameConstraint;
|
||||
|
|
Загрузка…
Ссылка в новой задаче