mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-27 23:04:19 +01:00
Fix memory leak in BasicSourceLineResolver::UnloadModule
R=nealsid at http://breakpad.appspot.com/179001/show git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@674 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
662b6da59d
commit
513083b598
@ -262,7 +262,9 @@ void BasicSourceLineResolver::UnloadModule(const CodeModule *module)
|
||||
|
||||
ModuleMap::iterator iter = modules_->find(module->code_file());
|
||||
if (iter != modules_->end()) {
|
||||
Module *basic_module = iter->second;
|
||||
modules_->erase(iter);
|
||||
delete basic_module;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user