mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Fix uninitialized pointer.
This commit is contained in:
parent
b79014f3ee
commit
eb38640114
@ -17,6 +17,7 @@ public:
|
|||||||
if( !mapAddr )
|
if( !mapAddr )
|
||||||
{
|
{
|
||||||
m_fd = 0;
|
m_fd = 0;
|
||||||
|
m_metadata = nullptr;
|
||||||
close( fd );
|
close( fd );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user