mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 517299 - Allocator mismatch (calloc+delete) for class TraceRecorder and LirWriter, r=gal.
This commit is contained in:
parent
7ac990150d
commit
e102fc5e1c
@ -987,6 +987,12 @@ public:
|
||||
return calloc(1, size);
|
||||
}
|
||||
|
||||
inline void
|
||||
operator delete(void *p)
|
||||
{
|
||||
free(p);
|
||||
}
|
||||
|
||||
JS_REQUIRES_STACK
|
||||
TraceRecorder(JSContext* cx, VMSideExit*, nanojit::Fragment*, TreeInfo*,
|
||||
unsigned stackSlots, unsigned ngslots, JSTraceType* typeMap,
|
||||
|
@ -1019,6 +1019,12 @@ namespace nanojit
|
||||
return calloc(1, size);
|
||||
}
|
||||
|
||||
inline void
|
||||
operator delete(void *p)
|
||||
{
|
||||
free(p);
|
||||
}
|
||||
|
||||
LirWriter *out;
|
||||
|
||||
LirWriter(LirWriter* out)
|
||||
|
Loading…
Reference in New Issue
Block a user