Don't crash in NSC_CopyObject after failing to copy a token object.

Bug 289529. r=relyea.
This commit is contained in:
nelsonb%netscape.com 2005-04-09 00:42:01 +00:00
parent 020e19c581
commit e0a7c75322

View File

@ -3769,6 +3769,7 @@ CK_RV NSC_CopyObject(CK_SESSION_HANDLE hSession,
if (crv != CKR_OK) {
sftk_FreeObject(destObject);
sftk_FreeSession(session);
return crv;
}
crv = sftk_handleObject(destObject,session);