X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mgclustercommand.cpp;fp=mgclustercommand.cpp;h=508b05f01d432a83d387b9b5b072d59a4b0fdcd5;hb=9eb79e6942cf98f3a0296ff9f63b4a47731b49e8;hp=06f05192ad1e91a1c85b2de8e986039d82d5c375;hpb=13f0aaa1f941bb5c066e626331549fa177810732;p=mothur.git diff --git a/mgclustercommand.cpp b/mgclustercommand.cpp index 06f0519..508b05f 100644 --- a/mgclustercommand.cpp +++ b/mgclustercommand.cpp @@ -247,8 +247,8 @@ int MGClusterCommand::execute(){ } - list = new ListVector(nameMap->getListVector()); - RAbundVector* rabund = new RAbundVector(list->getRAbundVector()); + //list = new ListVector(nameMap->getListVector()); + //rabund = new RAbundVector(list->getRAbundVector()); if (m->control_pressed) { outputTypes.clear(); delete nameMap; delete read; delete list; delete rabund; return 0; } @@ -519,8 +519,8 @@ int MGClusterCommand::execute(){ m->mothurRemove(overlapFile); } - delete list; - delete rabund; + delete list; + if (!large) {delete rabund;} listFile.close(); sabundFile.close(); rabundFile.close();