mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Slab allocator can free the blocks without knowing the parent structure
This commit is contained in:
@@ -475,7 +475,7 @@ fib_delete(struct fib *f, void *E)
|
||||
}
|
||||
|
||||
if (f->fib_slab)
|
||||
sl_free(f->fib_slab, E);
|
||||
sl_free(E);
|
||||
else
|
||||
mb_free(E);
|
||||
|
||||
|
Reference in New Issue
Block a user