Skip to content
Snippets Groups Projects
Commit e0e2b3ec authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Set p->ks to CRYPT_UNUSED after successful cryptKeysetClose()

Possibly should be done after a failure too...
parent a2283339
Branches
No related tags found
No related merge requests found
Pipeline #8656 passed
......@@ -165,6 +165,7 @@ js_close(JSContext *cx, uintN argc, jsval *arglist)
JS_ReportError(cx, "Error %d calling cryptKeysetClose()\n", status);
return JS_FALSE;
}
p->ks = CRYPT_UNUSED;
return JS_TRUE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment