Merge remote-tracking branch 'tor-gitlab/mr/456' into main

This commit is contained in:
Alexander Færøy
2021-10-14 19:18:22 +00:00
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
o Minor bugfixes (onion service, config):
- Fix a memory leak for a small config line string that could occur if the
service failed to be configured from file properly. Fixes bug 40484;
bugfix on 0.3.2.1-alpha.
+1
View File
@@ -640,6 +640,7 @@ hs_config_service_all(const or_options_t *options, int validate_only)
int rv = config_service(section, options, new_service_list);
config_free_lines(section);
if (rv < 0) {
config_free_lines(remaining);
goto err;
}
}