aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-01-31 20:38:57 +0000
committerRoger Dingledine <arma@torproject.org>2005-01-31 20:38:57 +0000
commitab8691c343166c562d264d21dcd354290947bc66 (patch)
treef595ff47b84e5fc97a857aa6c35fe8ab8193eb7d /src/or/dirserv.c
parentf80734d590f89599b779cc05f4020a6b47b46c37 (diff)
downloadtor-ab8691c343166c562d264d21dcd354290947bc66.tar
tor-ab8691c343166c562d264d21dcd354290947bc66.tar.gz
fix a minor memory leak found by weasel
svn:r3484
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index cddc2e3a7..e54e71c7a 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -695,6 +695,7 @@ dirserv_dump_directory_to_string(char **dir_out,
published, recommended_versions, running_routers, router_status,
identity_pkey);
+ smartlist_free(recommended_versions);
tor_free(running_routers);
tor_free(router_status);
tor_free(identity_pkey);