X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=heatmapcommand.cpp;h=d4e893b27edbda150ea961ddc3e6484d268a78c8;hb=753dc84cf289b1d5dc0ca5b0c043640927aa951a;hp=766f7da570168ca456b0ca0a9356911fa5c93f80;hpb=de2dc9fb831f569b823031d0730f5a0d739e8290;p=mothur.git diff --git a/heatmapcommand.cpp b/heatmapcommand.cpp index 766f7da..d4e893b 100644 --- a/heatmapcommand.cpp +++ b/heatmapcommand.cpp @@ -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) {