aboutsummaryrefslogtreecommitdiff
path: root/src/common/libkogata/slab_alloc.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-05-03 20:37:59 +0200
committerAlex Auvolat <alex@adnab.me>2017-05-03 20:37:59 +0200
commit1161e1d8be014945266017cb0ce735537a287677 (patch)
tree118f2201a5e12f79aefb404295794eed0d52cd6d /src/common/libkogata/slab_alloc.c
parent0b583122fb6cfcff991c54836d37cb3958c343b1 (diff)
downloadkogata-1161e1d8be014945266017cb0ce735537a287677.tar.gz
kogata-1161e1d8be014945266017cb0ce735537a287677.zip
Truetype fonts
Diffstat (limited to 'src/common/libkogata/slab_alloc.c')
-rw-r--r--src/common/libkogata/slab_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/libkogata/slab_alloc.c b/src/common/libkogata/slab_alloc.c
index 1d56e6f..2f6cef1 100644
--- a/src/common/libkogata/slab_alloc.c
+++ b/src/common/libkogata/slab_alloc.c
@@ -313,7 +313,7 @@ size_t slab_find_getsize(mem_allocator_t *a, void* addr) {
return i->region_size;
}
}
- ASSERT(false);
+ PANIC("should never come here");
}
void* slab_realloc(mem_allocator_t* a, void* ptr, size_t sz) {