Skip to content

Commit 67277a5

Browse files
Henry Estelasys_zuul
authored andcommitted
Add aligned_free call for cleaning up m_funcAttributeTable
Change-Id: Ibc7a2000c5b2124c667a943d92963f2ba491cd60
1 parent b01e868 commit 67277a5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

IGC/Compiler/CodeGenPublic.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ namespace IGC
135135
{
136136
IGC::aligned_free(m_debugDataGenISA);
137137
}
138+
if (m_funcAttributeTable)
139+
{
140+
IGC::aligned_free(m_funcAttributeTable);
141+
}
138142
}
139143

140144
void init(bool setSeparatePvtSpillT, bool roundPower2KBytes, unsigned int scratchSpaceSizeLimitT)

0 commit comments

Comments
 (0)