!4923 修正CalculateContextSize使用正确的结构体
Merge pull request !4923 from chenxiaobin/fixMemcheck
This commit is contained in:
@ -434,7 +434,11 @@ void SetInstrNull()
|
||||
|
||||
void CalculateContextSize(MemoryContext ctx, int64* memory_size)
|
||||
{
|
||||
#ifndef ENABLE_MEMORY_CHECK
|
||||
AllocSetContext* aset = (AllocSetContext*)ctx;
|
||||
#else
|
||||
AsanSetContext* aset = (AsanSetContext*)ctx;
|
||||
#endif
|
||||
MemoryContext child;
|
||||
|
||||
if (ctx == NULL)
|
||||
|
||||
Reference in New Issue
Block a user