Fix uninitialized pointer.

This commit is contained in:
Bartosz Taudul 2021-06-03 00:53:49 +02:00
parent b79014f3ee
commit eb38640114
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -17,6 +17,7 @@ public:
if( !mapAddr )
{
m_fd = 0;
m_metadata = nullptr;
close( fd );
return;
}