]> git.donarmstrong.com Git - mothur.git/blobdiff - rarefactcommand.cpp
fixed memory leak in rarefact
[mothur.git] / rarefactcommand.cpp
index 6e4197f7f8b4a9029709a9d4ab31f51c246d840b..981f077969b1e734b2dc39fb05b372daa2a5f455 100644 (file)
@@ -111,7 +111,8 @@ int RareFactCommand::execute(){
                        
                                cout << order->getLabel() << '\t' << count << endl;
                        }
-               
+                       
+                       delete order;
                        order = (input->getOrderVector());
                        count++;