mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-08 10:56:28 +00:00
add NULL check (#1925)
This commit is contained in:
@@ -276,6 +276,7 @@ static void __InsertMemNode(MemPool *const mempool, AllocList *const list, MemNo
|
||||
mempool->arena.offs += iter->size;
|
||||
__RemoveMemNode(list, iter);
|
||||
iter = list->head;
|
||||
if (iter == NULL) return;
|
||||
}
|
||||
const uintptr_t inode = ( uintptr_t )node;
|
||||
const uintptr_t iiter = ( uintptr_t )iter;
|
||||
|
Reference in New Issue
Block a user