Skip to content
Snippets Groups Projects
Commit e46f00a1 authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix leaked string in bad_client.c

parent f6d2f1fa
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include "src/core/support/string.h" #include "src/core/support/string.h"
#include "src/core/transport/chttp2_transport.h" #include "src/core/transport/chttp2_transport.h"
#include <grpc/support/alloc.h>
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
#include <grpc/support/thd.h> #include <grpc/support/thd.h>
...@@ -89,6 +90,8 @@ void grpc_run_bad_client_test(grpc_bad_client_server_side_validator validator, ...@@ -89,6 +90,8 @@ void grpc_run_bad_client_test(grpc_bad_client_server_side_validator validator,
/* Add a debug log */ /* Add a debug log */
gpr_log(GPR_INFO, "TEST: %s", hex); gpr_log(GPR_INFO, "TEST: %s", hex);
gpr_free(hex);
/* Init grpc */ /* Init grpc */
grpc_init(); grpc_init();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment