Explorar o código

Fix arma's fix for my leak

svn:r3485
Peter Palfrader %!s(int64=20) %!d(string=hai) anos
pai
achega
d19aaa9a46
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/dirserv.c

+ 1 - 1
src/or/dirserv.c

@@ -695,7 +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(recommended_versions);
   tor_free(running_routers);
   tor_free(router_status);
   tor_free(identity_pkey);