Commit e35f9414 authored by Sebastian Hahn's avatar Sebastian Hahn
Browse files

Fix a memleak when throwing away some build times

This was introduced in f7e6e852.
Found by Coverity
parent 0c70390d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -454,6 +454,8 @@ circuit_build_times_parse_state(circuit_build_times_t *cbt,
                 "Too many build times in state file. "
                 "Stopping short before %d",
                 loaded_cnt+count);
        SMARTLIST_FOREACH(args, char*, cp, tor_free(cp));
        smartlist_free(args);
        break;
      }