diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-10 17:30:54 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-10 17:30:54 +0100 |
commit | 8939dc23ba994b2e077d06bd2c7a61c08919663f (patch) | |
tree | 5fafe3477507bce64f66ff941d1899a492a3c39b /src | |
parent | cc149d0c2fffb6baffa9ad30706cae120fa337a6 (diff) | |
download | gnunet-8939dc23ba994b2e077d06bd2c7a61c08919663f.tar.gz gnunet-8939dc23ba994b2e077d06bd2c7a61c08919663f.zip |
fix memory leak
Diffstat (limited to 'src')
-rw-r--r-- | src/consensus/gnunet-service-consensus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/consensus/gnunet-service-consensus.c b/src/consensus/gnunet-service-consensus.c index ba84f64a2..7911db8b0 100644 --- a/src/consensus/gnunet-service-consensus.c +++ b/src/consensus/gnunet-service-consensus.c | |||
@@ -905,7 +905,7 @@ cmp_uint64_t (const void *pa, const void *pb) | |||
905 | * in the result set. | 905 | * in the result set. |
906 | * | 906 | * |
907 | * @param cls closure | 907 | * @param cls closure |
908 | * @param element a result element, only valid if status is GNUNET_SET_STATUS_OK | 908 | * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK |
909 | * @param current_size current set size | 909 | * @param current_size current set size |
910 | * @param status see enum GNUNET_SET_Status | 910 | * @param status see enum GNUNET_SET_Status |
911 | */ | 911 | */ |
@@ -1022,6 +1022,7 @@ set_result_cb (void *cls, | |||
1022 | "P%u: lower bound %llu\n", | 1022 | "P%u: lower bound %llu\n", |
1023 | session->local_peer_idx, | 1023 | session->local_peer_idx, |
1024 | (long long) session->lower_bound); | 1024 | (long long) session->lower_bound); |
1025 | GNUNET_free (copy); | ||
1025 | } | 1026 | } |
1026 | return; | 1027 | return; |
1027 | } | 1028 | } |