summaryrefslogtreecommitdiff
path: root/lib/LuaTask.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LuaTask.cc')
-rw-r--r--lib/LuaTask.cc4
1 files changed, 2 insertions, 2 deletions
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 <LuaTask.h>
#include <LuaHandle.h>
@@ -141,7 +141,7 @@ int LuaTask::Do() throw (GeneralException) {
}
#endif
- if (!c)
+ if (c)
delete c;
c = 0;