diff options
Diffstat (limited to 'src/node_http2.cc')
-rw-r--r-- | src/node_http2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_http2.cc b/src/node_http2.cc index 4e19432efb..1dd1f37c70 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -530,7 +530,7 @@ class Http2Session::MemoryAllocatorInfo { static void H2Free(void* ptr, void* user_data) { if (ptr == nullptr) return; // free(null); happens quite often. void* result = H2Realloc(ptr, 0, user_data); - CHECK_EQ(result, nullptr); + CHECK_NULL(result); } static void* H2Realloc(void* ptr, size_t size, void* user_data) { |