The TestResult was being freed, but not all the points to
live data it was holding.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@895
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
ck_assert_msg (tr_lno(tr) == i -1,
"Bad loc line received");
if (tr != NULL)
- free(tr);
+ tr_free(tr);
}
END_TEST
ck_assert_msg (tr_lno(tr) == 25,
"Bad loc line received");
if (tr != NULL)
- free(tr);
+ tr_free(tr);
}
END_TEST
ck_assert_msg (tr_lno(tr) == 25,
"Bad loc line received");
if (tr != NULL)
- free(tr);
+ tr_free(tr);
}
END_TEST
ck_assert_msg (tr_lno(tr) == 54,
"Bad loc line received");
if (tr != NULL)
- free(tr);
+ tr_free(tr);
}
END_TEST