When freeing a cert_list_t, avoid memory leak.

We were freeing these on exit, but when we added the dl_status_map
field to them in fddb814f, we forgot to arrange for it to be freed.

I've moved the cert_list_free() code into its own function, and added
an appropriate dsmap_free() call.

Fixes bug 9644; bugfix on 0.2.4.13-alpha.
This commit is contained in:
Nick Mathewson
2013-09-19 12:22:49 -04:00
parent 0c807cf3e4
commit 7dbf66713f
2 changed files with 26 additions and 7 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes:
- Fix a small memory leak on exit. (We weren't freeing directory
authority certificate download statuses.) Fixes bug 9644; bugfix
on 0.2.4.13-alpha.