diff --git a/src/common/util_format.c b/src/common/util_format.c index f343a9d921..e40fe30680 100644 --- a/src/common/util_format.c +++ b/src/common/util_format.c @@ -21,7 +21,6 @@ #include #include - /* Return the base32 encoded size in bytes using the source length srclen. * The NUL terminated byte is added as well since every base32 encoding * requires enough space for it. */ diff --git a/src/test/test_util_format.c b/src/test/test_util_format.c index c27b3a50eb..c441037178 100644 --- a/src/test/test_util_format.c +++ b/src/test/test_util_format.c @@ -318,7 +318,6 @@ test_util_format_base32_encode(void *arg) tt_mem_op(expected, OP_EQ, dst, strlen(expected)); } - /* Non multiple of 5 for the source buffer length. */ { /* Length of 8 bytes. */ @@ -375,7 +374,7 @@ test_util_format_base32_decode(void *arg) tt_int_op(tor_mem_is_zero(dst, real_dstlen), ==, 1); } -done: + done: tor_free(dst); }