sandbox: handling out of memory
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 4 Jun 2020 17:28:22 +0000 (19:28 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:57:21 +0000 (18:57 -0600)
commitc7e49ddc613534f2eb4286ae100fbc90938f160f
treed583aff17a3298be87e2bd2b318ee49f587c18bc
parent506d52308a2f5de48c2b9a08229fee9a0ee2842a
sandbox: handling out of memory

assert() only works in debug mode. So checking a successful memory
allocation should not use assert().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/state.c