From 836e72e96caf47add72a13a715722fad030f196c Mon Sep 17 00:00:00 2001 From: "J.C. Jones" Date: Fri, 6 Dec 2019 15:36:44 +0100 Subject: [NSS] Bug 1508776 - Remove unneeded refcounting from SFTKSession SFTKSession objects are only ever actually destroyed at PK11 session closure, as the session is always the final holder -- and asserting refCount == 1 shows that to be true. Because of that, NSC_CloseSession can just call `sftk_DestroySession` directly and leave `sftk_FreeSession` as a no-op to be removed in the future. --- security/nss/coreconf/coreconf.dep | 1 - 1 file changed, 1 deletion(-) (limited to 'security/nss/coreconf') diff --git a/security/nss/coreconf/coreconf.dep b/security/nss/coreconf/coreconf.dep index 590d1bfae..5182f7555 100644 --- a/security/nss/coreconf/coreconf.dep +++ b/security/nss/coreconf/coreconf.dep @@ -10,4 +10,3 @@ */ #error "Do not include this header file." - -- cgit v1.2.3