mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Don't crash in NSC_CopyObject after failing to copy a token object.
Bug 289529. r=relyea.
This commit is contained in:
parent
020e19c581
commit
e0a7c75322
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user