aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-08-03 15:51:24 +0300
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commit3ce69a58ce908ea88443c1321a7e4378f059a897 (patch)
tree6ea3e0a9a461e331b043fff870a99df0fb22d3ea /src/or/hs_descriptor.c
parent3bc52dae8932b42c809e2b233d5c194b74fa4f9b (diff)
downloadtor-3ce69a58ce908ea88443c1321a7e4378f059a897.tar.gz
tor-3ce69a58ce908ea88443c1321a7e4378f059a897.zip
Rename some free() functions that are actually clear().
Diffstat (limited to 'src/or/hs_descriptor.c')
-rw-r--r--src/or/hs_descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_descriptor.c b/src/or/hs_descriptor.c
index e18e25b26c..700d1b0cfc 100644
--- a/src/or/hs_descriptor.c
+++ b/src/or/hs_descriptor.c
@@ -2490,7 +2490,7 @@ hs_desc_link_specifier_new(const extend_info_t *info, uint8_t type)
/* From the given descriptor, remove and free every introduction point. */
void
-hs_descriptor_free_intro_points(hs_descriptor_t *desc)
+hs_descriptor_clear_intro_points(hs_descriptor_t *desc)
{
smartlist_t *ips;