]> git.donarmstrong.com Git - mothur.git/blobdiff - getsabundcommand.cpp
fixing bugs while testing
[mothur.git] / getsabundcommand.cpp
index ebfa839161fc3d59cd27f9a2f8e2e24743b85e7e..820868416b7bfc9bebcc27c8f73c24c6ddb7bbb4 100644 (file)
@@ -186,7 +186,6 @@ int GetSAbundCommand::execute(){
                                        m->mothurOut(sabund->getLabel());  m->mothurOutEndLine();
                                        
                                        sabund->print(out);
-                                       delete sabund;
                                        
                                if (m->control_pressed) { outputTypes.clear();  out.close(); remove(filename.c_str());  delete sabund; delete input;  return 0; }
 
@@ -202,7 +201,6 @@ int GetSAbundCommand::execute(){
                                        
                                        m->mothurOut(sabund->getLabel());  m->mothurOutEndLine();
                                        sabund->print(out);
-                                       delete sabund;
                                        
                                        if (m->control_pressed) {  outputTypes.clear(); out.close(); remove(filename.c_str());  delete sabund; delete input;  return 0; }