When copyIn fails (with an e.g. bad grammar error), we should ensure to release the CopyData buffers.