X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=heatmapcommand.cpp;h=7aa978d55096469b43262c1ea0a66e9e99f57a7d;hb=438aa88dbc092d9c1c80ec3fa20c8e47f97101c4;hp=5d7e1d635fd4e56893edcacfad7eaca6960f86d1;hpb=aa9238c0a9e6e7aa0ed8b8b606b08ad4fd7dcfe3;p=mothur.git diff --git a/heatmapcommand.cpp b/heatmapcommand.cpp index 5d7e1d6..7aa978d 100644 --- a/heatmapcommand.cpp +++ b/heatmapcommand.cpp @@ -182,7 +182,7 @@ int HeatMapCommand::execute(){ lastLabel = lookup[0]->getLabel(); //prevent memory leak - for (int i = 0; i < lookup.size(); i++) { delete lookup[i]; } + for (int i = 0; i < lookup.size(); i++) { delete lookup[i]; lookup[i] = NULL; } //get next line to process lookup = input->getSharedRAbundVectors();