mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
Merge pull request #147 from AWoloszyn/fix-free-offset
Fix switch for memory free.
This commit is contained in:
commit
0325f83e60
@ -1748,10 +1748,13 @@ static void FreeAssociatedMemory( const QueueItem& item )
|
|||||||
ptr = MemRead<uint64_t>( &item.zoneTextFat.text );
|
ptr = MemRead<uint64_t>( &item.zoneTextFat.text );
|
||||||
tracy_free( (void*)ptr );
|
tracy_free( (void*)ptr );
|
||||||
break;
|
break;
|
||||||
case QueueType::Message:
|
|
||||||
case QueueType::MessageColor:
|
case QueueType::MessageColor:
|
||||||
case QueueType::MessageCallstack:
|
|
||||||
case QueueType::MessageColorCallstack:
|
case QueueType::MessageColorCallstack:
|
||||||
|
ptr = MemRead<uint64_t>( &item.messageColorFat.text );
|
||||||
|
tracy_free( (void*)ptr );
|
||||||
|
break;
|
||||||
|
case QueueType::Message:
|
||||||
|
case QueueType::MessageCallstack:
|
||||||
#ifndef TRACY_ON_DEMAND
|
#ifndef TRACY_ON_DEMAND
|
||||||
case QueueType::MessageAppInfo:
|
case QueueType::MessageAppInfo:
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user