Avoid memory leaks in vfs tests
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Этот коммит содержится в:
родитель
e8d58f188d
Коммит
f8c45706e1
@ -45,6 +45,7 @@ static void
|
|||||||
teardown (void)
|
teardown (void)
|
||||||
{
|
{
|
||||||
vfs_shut ();
|
vfs_shut ();
|
||||||
|
str_uninit_strings ();
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -46,6 +46,7 @@ static void
|
|||||||
teardown (void)
|
teardown (void)
|
||||||
{
|
{
|
||||||
vfs_shut ();
|
vfs_shut ();
|
||||||
|
str_uninit_strings ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
@ -76,6 +76,7 @@ static void
|
|||||||
teardown (void)
|
teardown (void)
|
||||||
{
|
{
|
||||||
vfs_shut ();
|
vfs_shut ();
|
||||||
|
str_uninit_strings ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
@ -86,6 +86,7 @@ static void
|
|||||||
teardown (void)
|
teardown (void)
|
||||||
{
|
{
|
||||||
vfs_shut ();
|
vfs_shut ();
|
||||||
|
str_uninit_strings ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
@ -108,6 +108,7 @@ static void
|
|||||||
teardown (void)
|
teardown (void)
|
||||||
{
|
{
|
||||||
vfs_shut ();
|
vfs_shut ();
|
||||||
|
str_uninit_strings ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -70,6 +70,7 @@ static void
|
|||||||
teardown (void)
|
teardown (void)
|
||||||
{
|
{
|
||||||
vfs_shut ();
|
vfs_shut ();
|
||||||
|
str_uninit_strings ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user