aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/util/memory_counters.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/util/memory_counters.c')
-rw-r--r--test/core/util/memory_counters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/util/memory_counters.c b/test/core/util/memory_counters.c
index fd6770bd49..7c8b620f34 100644
--- a/test/core/util/memory_counters.c
+++ b/test/core/util/memory_counters.c
@@ -96,8 +96,8 @@ static void guard_free(void *vptr) {
g_old_allocs.free_fn(ptr);
}
-struct gpr_allocation_functions g_guard_allocs = {guard_malloc, guard_realloc,
- guard_free};
+struct gpr_allocation_functions g_guard_allocs = {guard_malloc, NULL,
+ guard_realloc, guard_free};
void grpc_memory_counters_init() {
memset(&g_memory_counters, 0, sizeof(g_memory_counters));