fix memory leak
authorChristian Grothoff <christian@grothoff.org>
Fri, 10 Mar 2017 16:28:57 +0000 (17:28 +0100)
committerChristian Grothoff <christian@grothoff.org>
Fri, 10 Mar 2017 16:28:57 +0000 (17:28 +0100)
src/block/bg_bf.c

index 1a17ec84e46543382f2d155ef1806d42449c09b9..3e7d38892dc209d7b25fa697147b9236d3e27401 100644 (file)
@@ -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;
   }