cout << lookup[0]->getLabel() << '\t' << count << endl;
heatmap->getPic(lookup);
}
-
+
+ //prevent memory leak
+ for (int i = 0; i < lookup.size(); i++) { delete lookup[i]; }
+
//get next line to process
lookup = input->getSharedRAbundVectors();
count++;
heatmap->getPic(rabund);
}
+ delete rabund;
rabund = input->getRAbundVector();
count++;
}