From 585af42a3321a49030de75efe00935fe3f8912cc Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Thu, 20 Sep 2018 16:44:39 -0700 Subject: [PATCH] Allocating the DebuggerDataBreakpoint object in the right heap Commit migrated from https://github.com/dotnet/coreclr/commit/2db5af268afc606a5ce4675899af5808c6b8a459 --- src/coreclr/src/debug/ee/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/debug/ee/controller.cpp b/src/coreclr/src/debug/ee/controller.cpp index f8bd932..74d9f11 100644 --- a/src/coreclr/src/debug/ee/controller.cpp +++ b/src/coreclr/src/debug/ee/controller.cpp @@ -2730,7 +2730,7 @@ DPOSS_ACTION DebuggerController::ScanForTriggers(CORDB_ADDRESS_TYPE *address, tpr != TPR_TRIGGER_ONLY_THIS && DebuggerDataBreakpoint::TriggerDataBreakpoint(thread, context)) { - DebuggerDataBreakpoint *pDataBreakpoint = new DebuggerDataBreakpoint(thread); + DebuggerDataBreakpoint *pDataBreakpoint = new (interopsafe) DebuggerDataBreakpoint(thread); pDcq->dcqEnqueue(pDataBreakpoint, FALSE); } -- 2.7.4