asplit: don't leak the input buffer.