forked from auracaster/openocd
This commit prevents NULL dereference during malloc failure on stm32x bank command. Change-Id: Ib348a1863aee5f8ed9d1699d203cdc4c83557628 Signed-off-by: Igor Cudnik <igor@its.rel.pl> Reviewed-on: https://review.openocd.org/c/openocd/+/9379 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Tested-by: jenkins