tests: do not explicitly free f->base.conf_file

This is done inside wp_base_test_fixture_teardown() now, as it should.
This commit is contained in:
George Kiagiadakis
2023-06-15 21:57:52 +03:00
parent e738076cb0
commit db5bd534ce
2 changed files with 0 additions and 2 deletions

View File

@@ -26,7 +26,6 @@ test_conf_teardown (TestConfFixture *self, gconstpointer user_data)
{ {
g_clear_object (&self->conf); g_clear_object (&self->conf);
wp_base_test_fixture_teardown (&self->base); wp_base_test_fixture_teardown (&self->base);
g_clear_pointer (&self->base.conf_file, g_free);
} }
static void static void

View File

@@ -34,7 +34,6 @@ test_conf_file_setup (TestSettingsFixture *self, gconstpointer user_data)
static void static void
test_conf_file_teardown (TestSettingsFixture *self, gconstpointer user_data) test_conf_file_teardown (TestSettingsFixture *self, gconstpointer user_data)
{ {
g_free (self->base.conf_file);
wp_base_test_fixture_teardown (&self->base); wp_base_test_fixture_teardown (&self->base);
} }