]> git.ipfire.org Git - thirdparty/tor.git/commit
When freeing a cert_list_t, avoid memory leak.
authorNick Mathewson <nickm@torproject.org>
Thu, 19 Sep 2013 16:22:49 +0000 (12:22 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 19 Sep 2013 16:22:49 +0000 (12:22 -0400)
commit7dbf66713f22b5e04a36d300307a4df7e375e76b
treeaf4f522e70d79db72e48370d57c0314f3994738d
parent0c807cf3e48cca5f4f93e8b1082bd62f2978cba4
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.
changes/bug9644 [new file with mode: 0644]
src/or/routerlist.c