From bb49da5b4af90526dc650a39f902511e244f816c Mon Sep 17 00:00:00 2001 From: nemu Date: Wed, 4 Jun 2008 05:48:09 +0000 Subject: [PATCH] fixed bug when releasing memory (thanks ot Bastian pointing this out) --- src/classes/PStartupHandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/classes/PStartupHandler.cpp b/src/classes/PStartupHandler.cpp index 416563ec..150d5212 100644 --- a/src/classes/PStartupHandler.cpp +++ b/src/classes/PStartupHandler.cpp @@ -59,9 +59,9 @@ PStartupHandler::PStartupHandler() PStartupHandler::~PStartupHandler() { // clean up - fDataPathList.empty(); - fMarkerList.empty(); - fColorList.empty(); + fDataPathList.clear(); + fMarkerList.clear(); + fColorList.clear(); } //--------------------------------------------------------------------------