mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Cosmetics.
This commit is contained in:
parent
493d433330
commit
cf8620b956
@ -2692,7 +2692,8 @@ void Profiler::ReportTopology()
|
|||||||
sprintf( path, "%s%i/topology/physical_package_id", basePath, i );
|
sprintf( path, "%s%i/topology/physical_package_id", basePath, i );
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
FILE* f = fopen( path, "rb" );
|
FILE* f = fopen( path, "rb" );
|
||||||
if( f == nullptr ) {
|
if( !f )
|
||||||
|
{
|
||||||
tracy_free( cpuData );
|
tracy_free( cpuData );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user