From 0d7abedc4a7ab20bdb14196cb247488a65f5f5e4 Mon Sep 17 00:00:00 2001 From: Franziskus Kiefer Date: Thu, 10 Aug 2017 10:40:49 +0200 Subject: Bug 1383824 - set slot->isLoggedIn after setting password, r=ttaubert Differential Revision: https://nss-review.dev.mozaws.net/D391 --- cpputil/scoped_ptrs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpputil') diff --git a/cpputil/scoped_ptrs.h b/cpputil/scoped_ptrs.h index 9f224dfc0..b92b8132b 100644 --- a/cpputil/scoped_ptrs.h +++ b/cpputil/scoped_ptrs.h @@ -36,6 +36,7 @@ struct ScopedDelete { void operator()(PK11URI* uri) { PK11URI_DestroyURI(uri); } void operator()(PLArenaPool* arena) { PORT_FreeArena(arena, PR_FALSE); } void operator()(PK11Context* context) { PK11_DestroyContext(context, true); } + void operator()(PK11GenericObject* obj) { PK11_DestroyGenericObject(obj); } }; template @@ -66,6 +67,7 @@ SCOPED(SECKEYPrivateKeyList); SCOPED(PK11URI); SCOPED(PLArenaPool); SCOPED(PK11Context); +SCOPED(PK11GenericObject); #undef SCOPED -- cgit v1.2.1