diff options
author | Craig Tiller <ctiller@google.com> | 2015-06-30 14:27:27 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-06-30 14:27:27 -0700 |
commit | e46f00a1d3740681ef92d0b4445165c3ada5bc5a (patch) | |
tree | db5501e1c64325c907bb24977624e30a0966d4e1 /test/core | |
parent | f6d2f1fa1bf732b1dfbdb9c24870c02b5b1642dd (diff) |
Fix leaked string in bad_client.c
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/bad_client/bad_client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/core/bad_client/bad_client.c b/test/core/bad_client/bad_client.c index e9adcf34c7..5b836fefc3 100644 --- a/test/core/bad_client/bad_client.c +++ b/test/core/bad_client/bad_client.c @@ -41,6 +41,7 @@ #include "src/core/support/string.h" #include "src/core/transport/chttp2_transport.h" +#include <grpc/support/alloc.h> #include <grpc/support/sync.h> #include <grpc/support/thd.h> @@ -89,6 +90,8 @@ void grpc_run_bad_client_test(grpc_bad_client_server_side_validator validator, /* Add a debug log */ gpr_log(GPR_INFO, "TEST: %s", hex); + gpr_free(hex); + /* Init grpc */ grpc_init(); |