]> git.donarmstrong.com Git - mothur.git/blobdiff - parsimonycommand.cpp
put back no command and worked on libshuff
[mothur.git] / parsimonycommand.cpp
index 421cac363feb5380787c8a52fe4e5ad2fe60c9f9..493af9b867e5542ee4c4c93acfa6c40a9c95fc5a 100644 (file)
@@ -168,7 +168,7 @@ int ParsimonyCommand::execute() {
                //reset globaldata's treemap if you just did random distrib
                if (randomtree != "") {
                        //memory leak prevention
-                       if (globaldata->gTreemap != NULL) { delete globaldata->gTreemap;  }
+                       //if (globaldata->gTreemap != NULL) { delete globaldata->gTreemap;  }
                        globaldata->gTreemap = savetmap;
                }
                
@@ -298,7 +298,7 @@ void ParsimonyCommand::getUserInput() {
                
                //save tmap for later
                //memory leak prevention
-               if (globaldata->gTreemap != NULL) { delete globaldata->gTreemap;  }
+               //if (globaldata->gTreemap != NULL) { delete globaldata->gTreemap;  }
                globaldata->gTreemap = tmap;
                
        }