]> git.donarmstrong.com Git - mothur.git/blobdiff - parselistcommand.cpp
fixed some bugs
[mothur.git] / parselistcommand.cpp
index 332074d14ee990c00e6a444e235af111121d778d..c12bd47aa0152bf266d0e3445f0f42b67b6bed39 100644 (file)
@@ -184,9 +184,11 @@ int ParseListCommand::execute(){
 //**********************************************************************************************************************
 
 ParseListCommand::~ParseListCommand(){
-       delete list;
-       delete input;
-       delete read;    
+       
+               globaldata->gSharedList = NULL;
+               delete input;  globaldata->ginput = NULL;
+               delete read;
+       
 }
 //**********************************************************************************************************************
 void ParseListCommand::process(SharedListVector* thisList) {