summaryrefslogtreecommitdiff
path: root/src/block/bg_bf.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-10 17:28:57 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-10 17:28:57 +0100
commitcc149d0c2fffb6baffa9ad30706cae120fa337a6 (patch)
tree60e981b2a9061c51c247f9b117885e884e143452 /src/block/bg_bf.c
parent6329bd3a348d51927b8188a04a1723c6e2edae1f (diff)
fix memory leak
Diffstat (limited to 'src/block/bg_bf.c')
-rw-r--r--src/block/bg_bf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/block/bg_bf.c b/src/block/bg_bf.c
index 1a17ec84e..3e7d38892 100644
--- a/src/block/bg_bf.c
+++ b/src/block/bg_bf.c
@@ -77,6 +77,7 @@ bf_group_serialize_cb (struct GNUNET_BLOCK_Group *bg,
raw,
gi->bf_size))
{
+ GNUNET_free (raw);
GNUNET_break (0);
return GNUNET_SYSERR;
}