Explorar o código

fix a minor memory leak found by weasel

svn:r3484
Roger Dingledine %!s(int64=20) %!d(string=hai) anos
pai
achega
ab8691c343
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/or/dirserv.c

+ 1 - 0
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);