arena: allow freeing NULL
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 23 Sep 2019 20:27:26 +0000 (16:27 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Oct 2019 21:11:11 +0000 (17:11 -0400)
commit0568fc9d8de108f16a4663e06655aef0f992bdf4
treebaad31a19f8229679c03366e5d92a88c62d3ae9d
parent3296159321ec1f211fa3f4c6178c4bd95632ab63
arena: allow freeing NULL

This is a convenience for test code.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/arena.c