summaryrefslogtreecommitdiff
path: root/lib/LuaTask.cc
diff options
context:
space:
mode:
authorpixel <pixel>2008-01-22 10:51:18 +0000
committerpixel <pixel>2008-01-22 10:51:18 +0000
commit886ad8e7a9606bbdbac9d45d1398951d6b6a1910 (patch)
treec6bf9e8d161f365ca333b8293ecd39bbe4f0746d /lib/LuaTask.cc
parentb0f465417a0b64053a00b3353cc7b03eca3c444d (diff)
Leak.... fixed....
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;