]> git.donarmstrong.com Git - mothur.git/blobdiff - collectcommand.cpp
fixed memory leak in rarefact
[mothur.git] / collectcommand.cpp
index 098ec1f29539b28bb25fa928aedebf186351a96a..233b7bef963a22bdc0ab9a2e524699bc49e4366c 100644 (file)
@@ -126,6 +126,8 @@ int CollectCommand::execute(){
                        
                                cout << order->getLabel() << '\t' << count << endl;
                        }
+                       
+                       delete order;
                        order = (input->getOrderVector());
                        count++;
                }