Fixed leak of unloaded module lists.

BUG=

Change-Id: I6d03820082f793a2eac3c3c2abd184b4acf66aa4
Reviewed-on: https://chromium-review.googlesource.com/438755
Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
Joshua Peraza 2017-02-07 12:12:53 -08:00
parent 7ba80c7284
commit 64c2eda38a
2 changed files with 6 additions and 2 deletions

View file

@ -64,6 +64,7 @@ void ProcessState::Clear() {
modules_with_corrupt_symbols_.clear();
delete modules_;
modules_ = NULL;
delete unloaded_modules_;
unloaded_modules_ = NULL;
}