mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Fix a memleak when throwing away some build times
This was introduced in f7e6e852e8
.
Found by Coverity
This commit is contained in:
parent
0c70390dd7
commit
e35f9414d6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user