Fix for tinderbox related to bug 397832. One place has been missed where verifyError was not decrefed.

This commit is contained in:
alexei.volkov.bugs%sun.com 2007-11-21 16:58:49 +00:00
Родитель d22fedc5b7
Коммит b550d09ca4
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -2644,6 +2644,9 @@ pkix_BuildForwardDepthFirstSearch(
if (PKIX_ERROR_RECEIVED) {
if (state->verifyNode != NULL) {
PKIX_CHECK_FATAL(pkix_VerifyNode_SetError
(verifyNode, verifyError, plContext),
PKIX_VERIFYNODESETERRORFAILED);
PKIX_CHECK_FATAL(pkix_VerifyNode_AddToTree
(state->verifyNode,
verifyNode,
@ -2651,6 +2654,7 @@ pkix_BuildForwardDepthFirstSearch(
PKIX_VERIFYNODEADDTOTREEFAILED);
PKIX_DECREF(verifyNode);
}
PKIX_DECREF(verifyError);
if (state->certLoopingDetected) {
PKIX_ERROR
(PKIX_LOOPDISCOVEREDDUPCERTSNOTALLOWED);