Skip to content

Commit

Permalink
Fix alloc-dealloc mismatch (#106957)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbalykov authored Aug 26, 2024
1 parent 56435ad commit 13ab40d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/coreclr/debug/daccess/daccess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5994,7 +5994,7 @@ ClrDataAccess::GetMethodVarInfo(MethodDesc* methodDesc,
{
SUPPORTS_DAC;
COUNT_T countNativeVarInfo;
NewHolder<ICorDebugInfo::NativeVarInfo> nativeVars(NULL);
NewArrayHolder<ICorDebugInfo::NativeVarInfo> nativeVars(NULL);
TADDR nativeCodeStartAddr;
if (address != (TADDR)NULL)
{
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/debug/daccess/stack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ ClrDataFrame::ValueFromDebugInfo(MetaSig* sig,
{
HRESULT status;
ULONG32 numVarInfo;
NewHolder<ICorDebugInfo::NativeVarInfo> varInfo(NULL);
NewArrayHolder<ICorDebugInfo::NativeVarInfo> varInfo(NULL);
ULONG32 codeOffset;
ULONG32 valueFlags;
ULONG32 i;
Expand Down

0 comments on commit 13ab40d

Please sign in to comment.