mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user