Fix a bug related to moving signing_key_cert
commit50cbf220994c7cec5939666cbf990acb4aaa46c6
authorNick Mathewson <nickm@torproject.org>
Fri, 20 May 2016 11:59:09 +0000 (20 07:59 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 20 May 2016 11:59:09 +0000 (20 07:59 -0400)
tree905087ffdd100348c573fb6decf777fd8bfadd89
parent33841a60303ce8febf8180829a868dcc43924d77
Fix a bug related to moving signing_key_cert

Now that the field exists in signed_descriptor_t, we need to make
sure we free it when we free a signed_descriptor_t, and we need to
make sure that we don't free it when we convert a routerinfo_t to a
signed_descriptor_t.

But not in any released Tor. I found this while working on #19128.

One problem: I don't see how this could cause 19128.
src/or/routerlist.c