Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
code review feedback
  • Loading branch information
davmason committed Jun 17, 2020
commit 46a6cd898ce241be52f2ba321f715b6b76248975
1 change: 0 additions & 1 deletion src/SOS/Strike/sos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,6 @@ namespace sos
void SyncBlk::Init()
{
if (FAILED(mData.Request(g_sos, mIndex)))

sos::Throw<DataRead>("Failed to request SyncBlk at index %d.", mIndex);
}

Expand Down
4 changes: 2 additions & 2 deletions src/SOS/Strike/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -443,12 +443,12 @@ class GCHeapDetails

~GCHeapDetails()
{
if (generation_table == NULL)
if (generation_table != NULL)
{
delete[] generation_table;
}

if (finalization_fill_pointers == NULL)
if (finalization_fill_pointers != NULL)
{
delete[] finalization_fill_pointers;
}
Expand Down