diff options
Diffstat (limited to 'plugins/Import/src/patterns.cpp')
-rw-r--r-- | plugins/Import/src/patterns.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Import/src/patterns.cpp b/plugins/Import/src/patterns.cpp index 994618f364..54afc1d5ca 100644 --- a/plugins/Import/src/patterns.cpp +++ b/plugins/Import/src/patterns.cpp @@ -169,6 +169,9 @@ public: iOffset = offsets[1]; } + if (m_pFile != nullptr) + ::UnmapViewOfFile(m_pFile); + if (m_hMap != nullptr) ::CloseHandle(m_hMap); |