aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-05-17 14:11:52 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-05-17 14:11:52 -0700
commit0b4d1238b8d3c7e92ae014a28f19397f38811399 (patch)
tree714a8b5c45759542c03f1f48e71d6c2f19df24fd
parentd5ed5a98db64703d8997b270b9e2fd95bf712403 (diff)
parent9be075c9116e63720dfbe297bc18924e2c953c32 (diff)
Merge pull request #6622 from ctiller/fix-master
Fix leak in port deallocation
-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;
}