aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/slice/percent_decode_fuzzer.cc
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-12-06 09:47:49 -0800
committerGravatar GitHub <noreply@github.com>2017-12-06 09:47:49 -0800
commit1d4e99508409be052bd129ba507bae1fbe7eb7fa (patch)
tree6a657f8c6179d873b34505cdc24bce9462ca68eb /test/core/slice/percent_decode_fuzzer.cc
parenta3df36cc2505a89c2f481eea4a66a87b3002844a (diff)
parentad4d2dde0052efbbf49d64b0843c45f0381cfeb3 (diff)
Merge pull request #13658 from grpc/revert-13058-execctx
Revert "All instances of exec_ctx being passed around in src/core removed"
Diffstat (limited to 'test/core/slice/percent_decode_fuzzer.cc')
-rw-r--r--test/core/slice/percent_decode_fuzzer.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/core/slice/percent_decode_fuzzer.cc b/test/core/slice/percent_decode_fuzzer.cc
index 81eb031014..3603177c47 100644
--- a/test/core/slice/percent_decode_fuzzer.cc
+++ b/test/core/slice/percent_decode_fuzzer.cc
@@ -20,7 +20,6 @@
#include <stdint.h>
#include <string.h>
-#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
@@ -32,7 +31,6 @@ bool leak_check = true;
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
struct grpc_memory_counters counters;
- grpc_init();
grpc_memory_counters_init();
grpc_slice input = grpc_slice_from_copied_buffer((const char*)data, size);
grpc_slice output;
@@ -48,7 +46,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
grpc_slice_unref(input);
counters = grpc_memory_counters_snapshot();
grpc_memory_counters_destroy();
- grpc_shutdown();
GPR_ASSERT(counters.total_size_relative == 0);
return 0;
}