Fixed memory problem related to TXT data.