From ab8691c343166c562d264d21dcd354290947bc66 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 31 Jan 2005 20:38:57 +0000 Subject: [PATCH] fix a minor memory leak found by weasel svn:r3484 --- src/or/dirserv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/or/dirserv.c b/src/or/dirserv.c index cddc2e3a7b..e54e71c7a3 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);