summaryrefslogtreecommitdiff
path: root/src/or/shared_random_state.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 13:00:56 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 13:00:56 -0400
commit1385a5118d55edd3dd672eeb793b662853f30758 (patch)
tree86b5138cee8ca281830e72cc842b539618d18554 /src/or/shared_random_state.c
parentd6d3f8486dbac9837a793f431dcd58505e7274e4 (diff)
parentb426e83f077d57e14fc77ebae18a3637bb2c752a (diff)
downloadtor-1385a5118d55edd3dd672eeb793b662853f30758.tar.gz
tor-1385a5118d55edd3dd672eeb793b662853f30758.zip
Merge branch 'maint-0.2.9' into maint-0.3.1
Diffstat (limited to 'src/or/shared_random_state.c')
-rw-r--r--src/or/shared_random_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/shared_random_state.c b/src/or/shared_random_state.c
index 89d2e8d7f6..a147f5a347 100644
--- a/src/or/shared_random_state.c
+++ b/src/or/shared_random_state.c
@@ -409,6 +409,7 @@ disk_state_parse_commits(sr_state_t *state,
if (commit == NULL) {
/* Ignore badly formed commit. It could also be a authority
* fingerprint that we don't know about so it shouldn't be used. */
+ smartlist_free(args);
continue;
}
/* We consider parseable commit from our disk state to be valid because