libgit2/tests-clar/odb
Sascha Cunz 9094d30b93 Reset all static variables to NULL in clar's __cleanup
Without this change, any failed assertion in the second (or a later) test
inside a test suite has a chance of double deleting memory, resulting in
a heap corruption. See #1096 for details.

This leaves alone the test cases where we "just" use cl_git_sandbox_init()
and cl_git_sandbox_cleanup(). These methods already take good care to not
double delete a repository.

Fixes #1096
2012-11-23 11:41:56 +01:00
..
alternates.c odb: recursively load alternates 2012-11-16 08:46:02 -08:00
foreach.c revwalk: fix off-by-one error 2012-09-27 19:12:01 +02:00
loose_data.h Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
loose.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
mixed.c Reset all static variables to NULL in clar's __cleanup 2012-11-23 11:41:56 +01:00
pack_data_one.h odb: allow creating an ODB backend from a packfile index 2012-07-21 16:23:49 +02:00
pack_data.h Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
packed_one.c Reset all static variables to NULL in clar's __cleanup 2012-11-23 11:41:56 +01:00
packed.c Reset all static variables to NULL in clar's __cleanup 2012-11-23 11:41:56 +01:00
sorting.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00