aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-15 07:45:39 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-15 07:45:39 -0700
commit7dc34ac7a057abba51a38fb7f6a73ee827933e70 (patch)
tree1ba5b64db3c89929d961b9c6b7063f809eed4d86
parent1d3f127245b38a1f497ecbd4cd9a03b6791674be (diff)
Fix memory leak
-rw-r--r--test/core/util/port_posix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/util/port_posix.c b/test/core/util/port_posix.c
index 49337c0c28..03f4c4912e 100644
--- a/test/core/util/port_posix.c
+++ b/test/core/util/port_posix.c
@@ -126,6 +126,7 @@ static void free_chosen_ports() {
for (i = 0; i < num_chosen_ports; i++) {
free_port_using_server(env, chosen_ports[i]);
}
+ gpr_free(env);
}
gpr_free(chosen_ports);