]> git.donarmstrong.com Git - mothur.git/blobdiff - unifracweightedcommand.h
fixed some issues while testing 1.6
[mothur.git] / unifracweightedcommand.h
index 9ea78baf17370d7c068e40d56014f2f4f6d49010..5f55deea98379b5813bed720fe9fad3bd76ac23f 100644 (file)
@@ -24,7 +24,7 @@ class UnifracWeightedCommand : public Command {
        
        public:
                UnifracWeightedCommand(string); 
-               ~UnifracWeightedCommand() { delete weighted; delete util; }
+               ~UnifracWeightedCommand() { if (abort == false) {  delete weighted; delete util; } }
                int execute();  
                void help();