From 1612abcd7a08e4d2398c26549fc218d2ea83ef14 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Tue, 19 Apr 2016 19:43:47 -0700 Subject: [PATCH] Plug leaks in tests --- test/core/end2end/fuzzers/api_fuzzer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/core/end2end/fuzzers/api_fuzzer.c b/test/core/end2end/fuzzers/api_fuzzer.c index 32abca60fe4..cbf98ed1f18 100644 --- a/test/core/end2end/fuzzers/api_fuzzer.c +++ b/test/core/end2end/fuzzers/api_fuzzer.c @@ -626,6 +626,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { } else { end(&inp); } + gpr_free(method); + gpr_free(host); break; } // switch the 'current' call