aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/json/json_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/json/json_test.c')
-rw-r--r--test/core/json/json_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/json/json_test.c b/test/core/json/json_test.c
index 11659a5716..6d0227ad39 100644
--- a/test/core/json/json_test.c
+++ b/test/core/json/json_test.c
@@ -151,7 +151,7 @@ static void test_pairs() {
GPR_ASSERT(!json);
}
- free(scratchpad);
+ gpr_free(scratchpad);
}
}
@@ -166,6 +166,7 @@ static void test_atypical() {
grpc_json_destroy(json->child);
json->child = brother;
grpc_json_destroy(json);
+ gpr_free(scratchpad);
}
int main(int argc, char **argv) {