]> git.donarmstrong.com Git - mothur.git/blobdiff - getrabundcommand.cpp
fixing bugs while testing
[mothur.git] / getrabundcommand.cpp
index 65eedaa39f1c2efaccc97ac4b2f44f325ddf6a9f..2f49a3b37181603f88065629ddc73f5194be49d9 100644 (file)
@@ -194,8 +194,6 @@ int GetRAbundCommand::execute(){
                                        
                                        if(sorted)      {   rabund->print(out);                         }
                                        else            {       rabund->nonSortedPrint(out);    }
-                                       
-                                       delete rabund;
                                                                                                                        
                                        processedLabels.insert(rabund->getLabel());
                                        userLabels.erase(rabund->getLabel());
@@ -214,8 +212,6 @@ int GetRAbundCommand::execute(){
                                        if(sorted)      {   rabund->print(out);                         }
                                        else            {       rabund->nonSortedPrint(out);    }
 
-                                       delete rabund;
-
                                        processedLabels.insert(rabund->getLabel());
                                        userLabels.erase(rabund->getLabel());