Skip to content

Commit 39e5684

Browse files
committed
Fix typos
1 parent 6a75a6b commit 39e5684

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Toshi/Source/TKernel/TFreeList.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ TFreeList::Node *TFreeList::Allocate(TINT a_iNumber, TUINT a_uiSize)
6060
TPVOID TFreeList::New(TUINT a_uiSize)
6161
{
6262
if (a_uiSize != m_uiItemSize) {
63-
return malloc(a_uiSize);
63+
return tmalloc(a_uiSize);
6464
}
6565

6666
Node *pLastNode = m_oLastNode.m_pNext;

Toshi/Source/TKernel/TPile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void *TPile::RawAlloc(TINT a_iSize, TINT a_iAlignment)
3939
}
4040
Block *pBlock;
4141
if ((m_iFlags & PILEFLAG_USEBLOCKALIGNMENT) == 0) {
42-
pBlock = (Block *)malloc(m_iBlockSize + 4);
42+
pBlock = (Block *)tmalloc(m_iBlockSize + 4);
4343
}
4444
else {
4545
const TINT uiBlockAlignment = 32;

0 commit comments

Comments
 (0)