Merge pull request #147 from AWoloszyn/fix-free-offset

Fix switch for memory free.
This commit is contained in:
Bartosz Taudul 2020-12-08 19:55:00 +01:00 committed by GitHub
commit 0325f83e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1748,10 +1748,13 @@ static void FreeAssociatedMemory( const QueueItem& item )
ptr = MemRead<uint64_t>( &item.zoneTextFat.text );
tracy_free( (void*)ptr );
break;
case QueueType::Message:
case QueueType::MessageColor:
case QueueType::MessageCallstack:
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
case QueueType::MessageAppInfo:
#endif