]> git.donarmstrong.com Git - mothur.git/blobdiff - getrabundcommand.cpp
fixed some issues while testing 1.6
[mothur.git] / getrabundcommand.cpp
index 8718e1600625d03e6311cf782ea3155b9b72747f..dd4fdd58178a0ce13467d5f45a00a105a8954fca 100644 (file)
@@ -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();