From 886ad8e7a9606bbdbac9d45d1398951d6b6a1910 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 22 Jan 2008 10:51:18 +0000 Subject: Leak.... fixed.... --- lib/LuaTask.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/LuaTask.cc b/lib/LuaTask.cc index 13a98f9..0acd392 100644 --- a/lib/LuaTask.cc +++ b/lib/LuaTask.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaTask.cc,v 1.24 2008-01-21 16:40:04 pixel Exp $ */ +/* $Id: LuaTask.cc,v 1.25 2008-01-22 10:51:18 pixel Exp $ */ #include #include @@ -141,7 +141,7 @@ int LuaTask::Do() throw (GeneralException) { } #endif - if (!c) + if (c) delete c; c = 0; -- cgit v1.2.3