/***********************************************************************/
ReadOTUFile::ReadOTUFile(string pf): philFile(pf){
-
+ m = MothurOut::getInstance();
//openInputFile(philFile, fileHandle);
}
//memory leak prevention
//if (globaldata->gSharedList != NULL) { delete globaldata->gSharedList; }
globaldata->gSharedList = SharedList;
+ delete inputSabund;
+ delete inputRabund;
+ delete inputList;
}
}
catch(exception& e) {
- errorOut(e, "ReadOTUFile", "read");
+ m->errorOut(e, "ReadOTUFile", "read");
exit(1);
}
}