X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=classifyseqscommand.cpp;fp=classifyseqscommand.cpp;h=0012cd246e5f9e708c7fcbdc52c22f2176200578;hb=9b53f130ac9af5e95444ce2e817fce25ed19ff03;hp=7f262bf9019de7e26d611e9d8b6c37c9f47e7cc6;hpb=5c5c0428f6d548c28a8b903ac80efed4f92d59db;p=mothur.git diff --git a/classifyseqscommand.cpp b/classifyseqscommand.cpp index 7f262bf..0012cd2 100644 --- a/classifyseqscommand.cpp +++ b/classifyseqscommand.cpp @@ -634,7 +634,7 @@ int ClassifySeqsCommand::execute(){ m->mothurOut("Classifying sequences from " + fastaFileNames[s] + " ..." ); m->mothurOutEndLine(); string baseTName = m->getSimpleName(taxonomyFileName); - if (taxonomyFileName == "saved") {baseTName = rdb->getSavedTaxonomy(); } + if (taxonomyFileName == "saved") { baseTName = rdb->getSavedTaxonomy(); } //set rippedTaxName to string RippedTaxName = ""; @@ -897,6 +897,7 @@ int ClassifySeqsCommand::execute(){ } #endif } + delete classify; m->mothurOutEndLine(); m->mothurOut("Output File Names: "); m->mothurOutEndLine(); @@ -916,7 +917,7 @@ int ClassifySeqsCommand::execute(){ if ((itTypes->second).size() != 0) { current = (itTypes->second)[0]; m->setAccnosFile(current); } } - delete classify; + return 0; }