Fix leaked string in bad_client.c

pull/2260/head
Craig Tiller 10 years ago
parent f6d2f1fa1b
commit e46f00a1d3
  1. 3
      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();

Loading…
Cancel
Save