txtinfo: avoid a memcpy: just move the abuf.buf pointer and clear abuf