mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
fix: Make sure correct close function gets called
This commit is contained in:
@@ -254,7 +254,7 @@ namespace hex::plugin::builtin::prv {
|
||||
return false;
|
||||
}
|
||||
|
||||
ON_SCOPE_EXIT { close(file); };
|
||||
ON_SCOPE_EXIT { ::close(file); };
|
||||
|
||||
this->m_fileSize = this->m_fileStats.st_size;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user