delete "delete[] codeTable" in function getIData