libc - nmalloc: Continue in a do/while(0) loop exits the loop, making the mtmagazine...
authorVenkatesh Srinivas <me@endeavour.zapto.org>
Tue, 21 Sep 2010 04:59:48 +0000 (21:59 -0700)
committerVenkatesh Srinivas <me@endeavour.zapto.org>
Tue, 21 Sep 2010 04:59:48 +0000 (21:59 -0700)
commit7b033ca7afcd5ded9c4102c353b86dfbe297a043
treeefebb9e4388167558968ce1ffcdface2ee6d8a9f
parent3349588e989f5d22fff3e1ed8adf2f21c2ab7090
libc - nmalloc: Continue in a do/while(0) loop exits the loop, making the mtmagazine routines not use the previous magazine.

Also handle null return from _vmem_alloc in burst allocation path.

Found-by: dillon
lib/libc/stdlib/nmalloc.c