X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=matrixoutputcommand.cpp;h=4ae8e244031a5ea194724fcb4581bbd677e4bc9c;hb=02909d6cae9963ba00dc746969a370fa8ca934fc;hp=e848647997c1a522f6a583d2144646ac20f7ac51;hpb=cd37904452dc95b183ff313ff05720c562902487;p=mothur.git diff --git a/matrixoutputcommand.cpp b/matrixoutputcommand.cpp index e848647..4ae8e24 100644 --- a/matrixoutputcommand.cpp +++ b/matrixoutputcommand.cpp @@ -170,9 +170,11 @@ void MatrixOutputCommand::help(){ //********************************************************************************************************************** MatrixOutputCommand::~MatrixOutputCommand(){ - delete input; - delete read; - delete validCalculator; + if (abort == false) { + delete input; globaldata->ginput = NULL; + delete read; + delete validCalculator; + } } //**********************************************************************************************************************