diff options
author | Craig Tiller <ctiller@google.com> | 2017-05-15 07:54:54 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-05-15 07:54:54 -0700 |
commit | 9d5d803bbf3e783cd12304d3aefa07eec6584f41 (patch) | |
tree | c7e4bff760409f4f019f64eccf56b71f8877fee0 /test/core | |
parent | a2d9d48a888bf9162d1288496e60920b481bf3eb (diff) |
Small fixes
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/util/port.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/util/port.c b/test/core/util/port.c index da1ed4e052..271ff226a7 100644 --- a/test/core/util/port.c +++ b/test/core/util/port.c @@ -77,9 +77,11 @@ static int free_chosen_port(int port) { static void free_chosen_ports(void) { size_t i; + grpc_init(); for (i = 0; i < num_chosen_ports; i++) { grpc_free_port_using_server(chosen_ports[i]); } + grpc_shutdown(); gpr_free(chosen_ports); } |