Skip to content
Prev Previous commit
Next Next commit
Update src/coreclr/vm/gchelpers.cpp
  • Loading branch information
jkotas authored Mar 31, 2024
commit 94deb3fc22165dce0287df9481b136b0c04ea81e
2 changes: 1 addition & 1 deletion src/coreclr/vm/gchelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ OBJECTREF TryAllocateFrozenObject(MethodTable* pObjMT)

SetTypeHandleOnThreadForAlloc(TypeHandle(pObjMT));

if pObjMT->ContainsPointers() || pObjMT->IsComObjectType())
if (pObjMT->ContainsPointers() || pObjMT->IsComObjectType())
{
return NULL;
}
Expand Down