From 0f3263059029d31dbcfddc6879af232ba68bfeb4 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 14 Oct 2015 20:22:51 +0200 Subject: [PATCH] leak: release message in test --- src/spells/magicresistance.test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spells/magicresistance.test.c b/src/spells/magicresistance.test.c index 55a5effaa..4b0d69388 100644 --- a/src/spells/magicresistance.test.c +++ b/src/spells/magicresistance.test.c @@ -44,6 +44,7 @@ static void test_magicresistance_unit(CuTest *tc) { msg = c->type->curseinfo(u2, TYP_UNIT, c, 1); CuAssertPtrNotNull(tc, msg); CuAssertStrEquals(tc, "curseinfo::magicresistance_unit", test_get_messagetype(msg)); + msg_release(msg); test_cleanup(); }