aboutsummaryrefslogtreecommitdiff
path: root/src/processor/process_state.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/processor/process_state.cc')
-rw-r--r--src/processor/process_state.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/processor/process_state.cc b/src/processor/process_state.cc
index 1d970bad..6c3a6567 100644
--- a/src/processor/process_state.cc
+++ b/src/processor/process_state.cc
@@ -57,6 +57,9 @@ void ProcessState::Clear() {
}
threads_.clear();
system_info_.Clear();
+ // modules_without_symbols_ DOES NOT owns the underlying CodeModule pointers.
+ // Just clear the vector.
+ modules_without_symbols_.clear();
delete modules_;
modules_ = NULL;
}