summaryrefslogtreecommitdiff
path: root/src/config/geoip6
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-12-08 11:46:52 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-09 08:30:46 -0500
commit9bb3bcbc414f8845d025e6bf74ffdf6be96a5ebe (patch)
treeba743b0f367ce33959dee79a3ea05df74ea9402c /src/config/geoip6
parentf9636ebc2f70544f8b86eb7e3a86a85c81349f8e (diff)
downloadtor-9bb3bcbc414f8845d025e6bf74ffdf6be96a5ebe.tar.gz
tor-9bb3bcbc414f8845d025e6bf74ffdf6be96a5ebe.zip
router: Fix memory leak in signed_descriptor_move()
The signed_descriptor_move() was not releasing memory inside the destination object before overwriting it with the source object. This commit adds a reset function that free that memory inside a signed descriptor object and zero it. Closes #20715. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/config/geoip6')
0 files changed, 0 insertions, 0 deletions