]> git.donarmstrong.com Git - mothur.git/blobdiff - getsabundcommand.cpp
fixed some issues while testing 1.6
[mothur.git] / getsabundcommand.cpp
index 5d99b6917b0130e0bec11742ab8fa862c4613db6..8cbb9d4a06ed2c3d578821520968f47630f6c0ce 100644 (file)
@@ -175,7 +175,7 @@ int GetSAbundCommand::execute(){
                
                //run last line if you need to
                if (needToRun == true)  {
-                       delete order;           
+                       if (order != NULL) {    delete order;   }
                        order = (input->getOrderVector(lastLabel));
                        
                        mothurOut(order->getLabel());  mothurOutEndLine();