1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Only copy symbol strings, if needed.

This commit is contained in:
Bartosz Taudul
2020-02-27 13:17:26 +01:00
parent 2df6f9068a
commit 474383b656
3 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -2695,7 +2695,7 @@ void Profiler::HandleSymbolQuery( uint64_t symbol )
AppendData( &item, QueueDataSize[(int)QueueType::SymbolInformation] );
tracy_free( (void*)sym.file );
if( sym.needFree ) tracy_free( (void*)sym.file );
#endif
}