Avoid memory leaks in vfs tests

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2011-06-04 15:12:24 +03:00
parent e8d58f188d
commit f8c45706e1
6 changed files with 6 additions and 0 deletions

View File

@ -45,6 +45,7 @@ static void
teardown (void)
{
vfs_shut ();
str_uninit_strings ();
}
static int

View File

@ -46,6 +46,7 @@ static void
teardown (void)
{
vfs_shut ();
str_uninit_strings ();
}
/* --------------------------------------------------------------------------------------------- */

View File

@ -76,6 +76,7 @@ static void
teardown (void)
{
vfs_shut ();
str_uninit_strings ();
}
/* --------------------------------------------------------------------------------------------- */

View File

@ -86,6 +86,7 @@ static void
teardown (void)
{
vfs_shut ();
str_uninit_strings ();
}
/* --------------------------------------------------------------------------------------------- */

View File

@ -108,6 +108,7 @@ static void
teardown (void)
{
vfs_shut ();
str_uninit_strings ();
}

View File

@ -70,6 +70,7 @@ static void
teardown (void)
{
vfs_shut ();
str_uninit_strings ();
}
/* --------------------------------------------------------------------------------------------- */