mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1021797 - Rename ArenaFalseCleaner to PORT_FreeArena_false. r=keeler
--HG-- extra : rebase_source : e7316ee06f58f42afbaf68d7e5f7948277fd15fd
This commit is contained in:
parent
c7661853a4
commit
f8058010ea
@ -35,13 +35,13 @@
|
|||||||
namespace mozilla { namespace pkix {
|
namespace mozilla { namespace pkix {
|
||||||
|
|
||||||
inline void
|
inline void
|
||||||
ArenaFalseCleaner(PLArenaPool *arena) {
|
PORT_FreeArena_false(PLArenaPool* arena) {
|
||||||
// PL_FreeArenaPool can't be used because it doesn't actually free the
|
// PL_FreeArenaPool can't be used because it doesn't actually free the
|
||||||
// memory, which doesn't work well with memory analysis tools
|
// memory, which doesn't work well with memory analysis tools
|
||||||
return PORT_FreeArena(arena, PR_FALSE);
|
return PORT_FreeArena(arena, PR_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef ScopedPtr<PLArenaPool, ArenaFalseCleaner> ScopedPLArenaPool;
|
typedef ScopedPtr<PLArenaPool, PORT_FreeArena_false> ScopedPLArenaPool;
|
||||||
|
|
||||||
typedef ScopedPtr<CERTCertificate, CERT_DestroyCertificate>
|
typedef ScopedPtr<CERTCertificate, CERT_DestroyCertificate>
|
||||||
ScopedCERTCertificate;
|
ScopedCERTCertificate;
|
||||||
|
Loading…
Reference in New Issue
Block a user