diff --git a/src/kernel/save.test.c b/src/kernel/save.test.c index 83866273b..53dcfe5d9 100644 --- a/src/kernel/save.test.c +++ b/src/kernel/save.test.c @@ -296,6 +296,7 @@ static void test_read_password_external(CuTest *tc) { fclose(F); _test_read_password(&data, f); CuAssertPtrNotNull(tc, f->_password); + mstream_done(&data.strm); gamedata_done(&data); CuAssertTrue(tc, checkpasswd(f, "secret")); CuAssertIntEquals(tc, 0, remove(pwfile));