Sfoglia il codice sorgente

fix a minor memory leak found by weasel

svn:r3484
Roger Dingledine 20 anni fa
parent
commit
ab8691c343
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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);