X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getrabundcommand.cpp;h=dd4fdd58178a0ce13467d5f45a00a105a8954fca;hp=8718e1600625d03e6311cf782ea3155b9b72747f;hb=e911fa88572a16ef40e0b51fb132ab6e02370797;hpb=1754e8fdda8c41afba854df004b31f5e2d25fb75 diff --git a/getrabundcommand.cpp b/getrabundcommand.cpp index 8718e16..dd4fdd5 100644 --- a/getrabundcommand.cpp +++ b/getrabundcommand.cpp @@ -187,7 +187,7 @@ int GetRAbundCommand::execute(){ //run last line if you need to if (needToRun == true) { - delete list; + if (list != NULL) { delete list; } list = input->getListVector(lastLabel); mothurOut(list->getLabel()); mothurOutEndLine();