From ea3fc6b037dcbc87641cea26b15e60b476ff0993 Mon Sep 17 00:00:00 2001 From: nemu Date: Tue, 6 Oct 2009 09:34:03 +0000 Subject: [PATCH] fixed another memory leak --- src/musrfit.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/musrfit.cpp b/src/musrfit.cpp index 2b7ab452..1530a2e1 100644 --- a/src/musrfit.cpp +++ b/src/musrfit.cpp @@ -550,6 +550,10 @@ int main(int argc, char *argv[]) } // clean up + if (saxParser) { + delete saxParser; + saxParser = 0; + } if (startupHandler) { delete startupHandler; startupHandler = 0;