Make a config_suite_t type to hold multiple config sub-objects

Right now, it doesn't do anything; this patch is meant to make sure
that we're doing memory management correctly.
This commit is contained in:
Nick Mathewson
2019-07-23 11:32:52 -04:00
parent 47654d3249
commit 38b770bbbb
8 changed files with 68 additions and 0 deletions
+2
View File
@@ -134,6 +134,7 @@ static const config_format_t test_fmt = {
test_validate_cb,
NULL,
NULL,
-1,
};
/* Make sure that config_init sets everything to the right defaults. */
@@ -815,6 +816,7 @@ static config_format_t etest_fmt = {
test_validate_cb,
NULL,
&extra,
-1,
};
/* Try out the feature where we can store unrecognized lines and dump them