summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-09-05 20:52:15 +0000
committerNick Mathewson <nickm@torproject.org>2008-09-05 20:52:15 +0000
commit0b8117a5c002b262b6ee56acc3719700637416c7 (patch)
tree73746b443d10620630933d7de5d0f467378fb5d7 /src/or/connection_edge.c
parent4d94e061c7a1af2fbb92ab3114c3ce5f59971a31 (diff)
downloadtor-0b8117a5c002b262b6ee56acc3719700637416c7.tar.gz
tor-0b8117a5c002b262b6ee56acc3719700637416c7.zip
Fix numerous memory leaks: some were almost impossible to trigger, and some almost inevitable.
svn:r16779
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index e05906b301..2dc083291a 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -717,6 +717,8 @@ clear_trackexithost_mappings(const char *exitname)
MAP_DEL_CURRENT(address);
}
} STRMAP_FOREACH_END;
+
+ tor_free(suffix);
}
/** Remove all entries from the addressmap that were set via the