aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoshua Peraza <jperaza@chromium.org>2018-08-01 16:27:39 -0700
committerJoshua Peraza <jperaza@chromium.org>2018-08-02 00:02:10 +0000
commitf12b6897897fb5b7e74437371fdf2b36a36f5661 (patch)
tree30819e6d5a3aad8ecb29d7b4667b281858e9a65d /src
parentDefine and use a a new MDRawContextARM64 (diff)
downloadbreakpad-f12b6897897fb5b7e74437371fdf2b36a36f5661.tar.xz
processor: Fix memory leak after 88d8114f
This was mistakenly deleted in https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1155938/12 Change-Id: I95e5d84b36e2f89a7a364ee278ccb128b7d34b50 Reviewed-on: https://chromium-review.googlesource.com/1159525 Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/processor/dump_context.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/processor/dump_context.cc b/src/processor/dump_context.cc
index 63ccf4ab..da531b74 100644
--- a/src/processor/dump_context.cc
+++ b/src/processor/dump_context.cc
@@ -290,6 +290,10 @@ void DumpContext::FreeContext() {
delete context_.arm;
break;
+ case MD_CONTEXT_ARM64:
+ delete context_.arm64;
+ break;
+
case MD_CONTEXT_MIPS:
case MD_CONTEXT_MIPS64:
delete context_.ctx_mips;