don't free the values in options->MyFamily when we make a descriptor
commita7e75ff7966d7d3d83d41a47c5b9fa5e3daa2465
authorRoger Dingledine <arma@torproject.org>
Thu, 25 May 2017 03:14:23 +0000 (24 23:14 -0400)
committerRoger Dingledine <arma@torproject.org>
Thu, 25 May 2017 03:32:32 +0000 (24 23:32 -0400)
treec82e4dfa4464149afd698475b82339246c64f64e
parent511c9006867926cbfcc824567b37e78856fa46d9
don't free the values in options->MyFamily when we make a descriptor

If we free them here, we will still attempt to access the freed memory
later on, and also we will double-free when we are freeing the config.

Fixes part of bug 22368.
src/or/router.c