aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirauth/shared_random_state.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 13:02:56 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 13:02:56 -0400
commit5ab23e03fa0a8bce11798cbf025139e9653b9be4 (patch)
tree276461c37fce85defa953fc1adb2926b6d6be181 /src/or/dirauth/shared_random_state.c
parentc08102ea777ddaaa8404021a1c8b84082f5eff8b (diff)
parentdf896ed6323f6f0493393f97e739501df8092e7f (diff)
downloadtor-5ab23e03fa0a8bce11798cbf025139e9653b9be4.tar.gz
tor-5ab23e03fa0a8bce11798cbf025139e9653b9be4.zip
Merge branch 'maint-0.3.3' into maint-0.3.4
Diffstat (limited to 'src/or/dirauth/shared_random_state.c')
-rw-r--r--src/or/dirauth/shared_random_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dirauth/shared_random_state.c b/src/or/dirauth/shared_random_state.c
index 245fb99ce7..fc0e4e5630 100644
--- a/src/or/dirauth/shared_random_state.c
+++ b/src/or/dirauth/shared_random_state.c
@@ -373,6 +373,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