]> git.donarmstrong.com Git - mothur.git/blobdiff - heatmapcommand.cpp
fixing minor bugs
[mothur.git] / heatmapcommand.cpp
index 766f7da570168ca456b0ca0a9356911fa5c93f80..d4e893b27edbda150ea961ddc3e6484d268a78c8 100644 (file)
@@ -128,7 +128,7 @@ void HeatMapCommand::help(){
 //**********************************************************************************************************************
 
 HeatMapCommand::~HeatMapCommand(){
-       delete input;
+       
        delete read;
        delete heatmap;
 }
@@ -276,6 +276,7 @@ int HeatMapCommand::execute(){
 
                }
                
+               delete input;
                return 0;
        }
        catch(exception& e) {