From 2f3ffc2b053725a26be07763b02091439ae41005 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 1 Mar 2017 00:03:51 +0100 Subject: [PATCH] set: log set difference estimate --- src/set/gnunet-service-set_union.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c index f46713c31..9ca9961ef 100644 --- a/src/set/gnunet-service-set_union.c +++ b/src/set/gnunet-service-set_union.c @@ -877,6 +877,8 @@ handle_p2p_strata_estimator (void *cls, if (diff > 200) diff = diff * 3 / 2; + + strata_estimator_destroy (remote_se); strata_estimator_destroy (op->state->se); op->state->se = NULL; @@ -885,6 +887,17 @@ handle_p2p_strata_estimator (void *cls, diff, 1<spec->byzantine) && (other_size < op->spec->byzantine_lower_bound)) { GNUNET_break (0); -- 2.25.1