From 3f322e1088911a24a2ac1c7728028a83a5a8f470 Mon Sep 17 00:00:00 2001 From: Adele Zhou Date: Tue, 10 Apr 2018 14:20:00 -0700 Subject: Fix a memory leak --- test/cpp/util/grpc_tool_test.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/cpp/util') diff --git a/test/cpp/util/grpc_tool_test.cc b/test/cpp/util/grpc_tool_test.cc index 9f7fec5e93..6574d1bb44 100644 --- a/test/cpp/util/grpc_tool_test.cc +++ b/test/cpp/util/grpc_tool_test.cc @@ -22,6 +22,7 @@ #include #include +#include #include #include #include @@ -738,6 +739,8 @@ TEST_F(GrpcToolTest, CallCommandWithBadMetadata) { FLAGS_metadata = ""; FLAGS_protofiles = ""; + + gpr_free(test_srcdir); } } // namespace testing -- cgit v1.2.3