[ndctl PATCH] libndctl, inject: ensure that bb_add_record doesn't leak memory