Bug 1021797 - Rename ArenaFalseCleaner to PORT_FreeArena_false. r=keeler

--HG--
extra : rebase_source : e7316ee06f58f42afbaf68d7e5f7948277fd15fd
This commit is contained in:
Camilo Viecco 2014-06-06 14:11:08 -07:00
parent c7661853a4
commit f8058010ea

View File

@ -35,13 +35,13 @@
namespace mozilla { namespace pkix {
inline void
ArenaFalseCleaner(PLArenaPool *arena) {
PORT_FreeArena_false(PLArenaPool* arena) {
// PL_FreeArenaPool can't be used because it doesn't actually free the
// memory, which doesn't work well with memory analysis tools
return PORT_FreeArena(arena, PR_FALSE);
}
typedef ScopedPtr<PLArenaPool, ArenaFalseCleaner> ScopedPLArenaPool;
typedef ScopedPtr<PLArenaPool, PORT_FreeArena_false> ScopedPLArenaPool;
typedef ScopedPtr<CERTCertificate, CERT_DestroyCertificate>
ScopedCERTCertificate;