]> git.donarmstrong.com Git - mothur.git/blobdiff - bootstrapsharedcommand.cpp
fixed some issues while testing 1.6
[mothur.git] / bootstrapsharedcommand.cpp
index 12c0b5e647fefccded7b826e23efb7d019e1b703..0c6c53c0652df0786b885966919f3ce15a2f5197 100644 (file)
@@ -272,7 +272,7 @@ int BootSharedCommand::execute(){
                
                //run last line if you need to
                if (needToRun == true)  {
-                               delete order;
+                               if (order != NULL) {    delete order;   }
                                order = input->getSharedOrderVector(lastLabel);                                                                                                 
                                mothurOut(order->getLabel()); mothurOutEndLine();
                                process(order);