diff --git a/bin/tests/wire_test.c b/bin/tests/wire_test.c index 107f2cc7a1..ef86a1e7c5 100644 --- a/bin/tests/wire_test.c +++ b/bin/tests/wire_test.c @@ -258,9 +258,7 @@ main(int argc, char *argv[]) { process_message(input); } - if (input != NULL) { - isc_buffer_free(&input); - } + isc_buffer_free(&input); if (printmemstats) { isc_mem_stats(mctx, stdout);