forked from github/server
leak: release message in test
This commit is contained in:
parent
5018bbb0c0
commit
0f32630590
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ static void test_magicresistance_unit(CuTest *tc) {
|
||||||
msg = c->type->curseinfo(u2, TYP_UNIT, c, 1);
|
msg = c->type->curseinfo(u2, TYP_UNIT, c, 1);
|
||||||
CuAssertPtrNotNull(tc, msg);
|
CuAssertPtrNotNull(tc, msg);
|
||||||
CuAssertStrEquals(tc, "curseinfo::magicresistance_unit", test_get_messagetype(msg));
|
CuAssertStrEquals(tc, "curseinfo::magicresistance_unit", test_get_messagetype(msg));
|
||||||
|
msg_release(msg);
|
||||||
|
|
||||||
test_cleanup();
|
test_cleanup();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue