Fix small memory leak in config include tests

Tests that used options_init_from_string were not freeing calling
config_free_all().
This commit is contained in:
Daniel Pinto 2020-06-03 22:09:54 +01:00
parent 49dab42782
commit 3c70f26dc0

View File

@ -5875,6 +5875,7 @@ test_config_include_flag_both_without(void *data)
done:
tor_free(errmsg);
config_free_all();
}
static void
@ -5915,6 +5916,7 @@ test_config_include_flag_torrc_only(void *data)
tor_free(errmsg);
tor_free(path);
tor_free(dir);
config_free_all();
}
static void
@ -5955,6 +5957,7 @@ test_config_include_flag_defaults_only(void *data)
tor_free(errmsg);
tor_free(path);
tor_free(dir);
config_free_all();
}
static void