]> git.donarmstrong.com Git - mothur.git/blobdiff - binsequencecommand.cpp
fixed some issues while testing 1.6
[mothur.git] / binsequencecommand.cpp
index e1f98eb94a02b6ef39073270e5c0d09f55e69025..e4e4c48d98e06014ee7a243fa6e43672445b0c5d 100644 (file)
@@ -213,7 +213,7 @@ int BinSeqCommand::execute(){
                
                //run last line if you need to
                if (needToRun == true)  {
-                       delete list;
+                       if (list != NULL) {             delete list;    }
                        list = input->getListVector(lastLabel);
                                
                        error = process(list);