Fix memory leak when failing to configure hidden services.

In 8a0ea3ee43 we added a
temp_service_list local variable to rend_config_services, but we
didn't add a corresponding "free" for it to all of the exit paths.

Fixes bug 20987; bugfix on 0.3.0.1-alpha.
This commit is contained in:
Nick Mathewson
2016-12-15 08:12:59 -05:00
parent 4098bfa260
commit 3a3e88dbd4
2 changed files with 31 additions and 34 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor bugfixes (memory leaks):
- Fix a memory leak when configuring hidden services. Fixes bug 20987;
bugfix on 0.3.0.1-alpha.