aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/util
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-05-17 10:46:59 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-05-17 10:46:59 -0700
commit9be075c9116e63720dfbe297bc18924e2c953c32 (patch)
tree8d4584398fb648a27ed6c0f82592145a6c58338f /test/core/util
parent8010daaf2b0c0308b0838c555535d4efa6e361bc (diff)
Fix leak in port deallocation
Diffstat (limited to 'test/core/util')
-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 f13960156f..265e0acee1 100644
--- a/test/core/util/port_posix.c
+++ b/test/core/util/port_posix.c
@@ -89,6 +89,7 @@ static int free_chosen_port(int port) {
grpc_free_port_using_server(env, port);
}
}
+ gpr_free(env);
return found;
}