Fixed multiple memory leaks
This commit is contained in:
parent
d69eee55dd
commit
83bbde8d29
1
external/ImGui/include/imgui_memory_editor.h
vendored
1
external/ImGui/include/imgui_memory_editor.h
vendored
@ -127,6 +127,7 @@ struct MemoryEditor
|
||||
// State/Internals
|
||||
ContentsWidthChanged = false;
|
||||
DataPreviewAddr = DataEditingAddr = DataPreviewAddrEnd = (size_t)-1;
|
||||
DataPreviewAddrOld = DataPreviewAddrEndOld = (size_t)-1;
|
||||
DataEditingTakeFocus = false;
|
||||
memset(DataInputBuf, 0, sizeof(DataInputBuf));
|
||||
memset(AddrInputBuf, 0, sizeof(AddrInputBuf));
|
||||
|
@ -18,7 +18,7 @@ namespace hex {
|
||||
}
|
||||
|
||||
Plugin::~Plugin() {
|
||||
|
||||
dlclose(this->m_handle);
|
||||
}
|
||||
|
||||
void Plugin::initializePlugin() const {
|
||||
|
@ -193,6 +193,8 @@ namespace hex {
|
||||
}
|
||||
|
||||
ViewPattern::~ViewPattern() {
|
||||
delete this->m_patternLanguageRuntime;
|
||||
|
||||
View::unsubscribeEvent(Events::ProjectFileStore);
|
||||
View::unsubscribeEvent(Events::ProjectFileLoad);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user