Fix some malloc failures in b_addr.c