aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-07 15:13:21 -0500
committerNick Mathewson <nickm@torproject.org>2013-02-07 15:13:21 -0500
commit0061d428900946ce8bf5c8bfb4c2b3b5faa4f691 (patch)
treec6144a9274651d859cf2166567c4f31923f3d82e /src/or/router.c
parentad28397bbf1744993538fa96675a55bba59f2b57 (diff)
parentf272ee6a20ec0df491bed485a0eea4ae2f82e40c (diff)
downloadtor-0061d428900946ce8bf5c8bfb4c2b3b5faa4f691.tar
tor-0061d428900946ce8bf5c8bfb4c2b3b5faa4f691.tar.gz
Merge remote-tracking branch 'public/bug7816_024'
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index db396f0d5..b52632c58 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -2399,6 +2399,7 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
"ipv6-policy %s\n", p6);
if (result<0) {
log_warn(LD_BUG,"Descriptor printf of policy ran out of room");
+ tor_free(p6);
return -1;
}
written += result;