Add missing return, in a rare case where we can't allocate memory in
deallocate. Submitted by: Ryan Stone (rysto32 at gmail dot com) Approved by: jasone
This commit is contained in:
parent
1e027851aa
commit
648050dfd0
@ -3800,6 +3800,7 @@ arena_dalloc(arena_t *arena, arena_chunk_t *chunk, void *ptr)
|
||||
arena_dalloc_small(arena, chunk, ptr,
|
||||
mapelm);
|
||||
malloc_spin_unlock(&arena->lock);
|
||||
return;
|
||||
}
|
||||
mag_rack = rack;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user