From eda87d06b7f56e90d3cb63c75c7cb4d9171ab783 Mon Sep 17 00:00:00 2001 From: Christian Schlittchen Date: Sun, 4 Aug 2002 20:35:28 +0000 Subject: [PATCH] - free(ts) --- src/common/kernel/spell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/kernel/spell.c b/src/common/kernel/spell.c index 8b7ba3780..f5856747c 100644 --- a/src/common/kernel/spell.c +++ b/src/common/kernel/spell.c @@ -7179,6 +7179,8 @@ sp_destroy_curse(castorder *co) mage, mage->region, strdup(co->order))); } + if(ts != NULL) free(ts); + return cast_level; }