Assert on allocator ops that's not implemented

This commit is contained in:
2026-09-14 19:59:14 +02:00
parent 076b152555
commit 1a6b7e05f0
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ static void *platform_allocator_func(Allocator *allocator, AllocOperation operat
case Alloc_Op_Aligned:
return aligned_alloc(size, align);
case Alloc_Op_Free: // can't free/Free_all from an marena
case Alloc_Op_Free:
free(memory);
return NULL;