leak: release message in test

This commit is contained in:
Enno Rehling 2015-10-14 20:22:51 +02:00
parent 5018bbb0c0
commit 0f32630590
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}