]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix a minor memory leak found by weasel
authorRoger Dingledine <arma@torproject.org>
Mon, 31 Jan 2005 20:38:57 +0000 (20:38 +0000)
committerRoger Dingledine <arma@torproject.org>
Mon, 31 Jan 2005 20:38:57 +0000 (20:38 +0000)
svn:r3484

src/or/dirserv.c

index cddc2e3a7bfdb7c42415e7325ef77fc9625403ab..e54e71c7a3bc7e229dcf63ae85ee44fbc14380cb 100644 (file)
@@ -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);