Resolve comments

pull/17308/head
yang-g 6 years ago
parent fe3555f0fd
commit cedc76bf38
  1. 1
      src/core/lib/iomgr/fork_posix.cc
  2. 2
      test/core/json/fuzzer.cc

@ -35,7 +35,6 @@
#include "src/core/lib/iomgr/executor.h"
#include "src/core/lib/iomgr/timer_manager.h"
#include "src/core/lib/iomgr/wakeup_fd_posix.h"
#include "src/core/lib/surface/init.h"
/*
* NOTE: FORKING IS NOT GENERALLY SUPPORTED, THIS IS ONLY INTENDED TO WORK

@ -31,7 +31,7 @@ bool leak_check = true;
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
char* s;
grpc_core::testing::LeakDetector leak_detector(leak_check);
grpc_core::testing::LeakDetector leak_detector(true);
s = static_cast<char*>(gpr_malloc(size));
memcpy(s, data, size);
grpc_json* x;

Loading…
Cancel
Save