remove unnecessary debugging code
This commit is contained in:
parent
bf55fad6d0
commit
645209dcbf
3
malloc.c
3
malloc.c
@ -413,9 +413,6 @@ static inline void slab_free(void *p) {
|
|||||||
if (metadata->prev) {
|
if (metadata->prev) {
|
||||||
metadata->prev->next = metadata->next;
|
metadata->prev->next = metadata->next;
|
||||||
} else {
|
} else {
|
||||||
if (c->partial_slabs != metadata) {
|
|
||||||
fatal_error("not good");
|
|
||||||
}
|
|
||||||
c->partial_slabs = metadata->next;
|
c->partial_slabs = metadata->next;
|
||||||
}
|
}
|
||||||
if (metadata->next) {
|
if (metadata->next) {
|
||||||
|
Loading…
Reference in New Issue
Block a user