X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=shared.cpp;h=36dbbb1117067253b04150cbf5a4c6f592906861;hb=753dc84cf289b1d5dc0ca5b0c043640927aa951a;hp=73f283ae7b697c95ec5eacf5195a809162ca94a8;hpb=de2dc9fb831f569b823031d0730f5a0d739e8290;p=mothur.git diff --git a/shared.cpp b/shared.cpp index 73f283a..36dbbb1 100644 --- a/shared.cpp +++ b/shared.cpp @@ -21,6 +21,7 @@ void Shared::getSharedVectors(SharedListVector* list) { int i,j; label = list->getLabel(); + for (it = sharedGroups.begin(); it != sharedGroups.end(); it++) { delete it->second; } sharedGroups.clear(); //removes old info. //initalize sharedGroups