aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/transport
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-04-24 13:46:12 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-04-24 13:46:12 -0700
commit4df5caea068914474c3a1596dd1d195ebfdfaff1 (patch)
treeae9b7236e1e5497c4df86b6ce3ef7b442f89400e /src/core/transport
parent71cb81c7378d281e7e3811b852906d9191569b8d (diff)
Fix memory leak
Diffstat (limited to 'src/core/transport')
-rw-r--r--src/core/transport/chttp2_transport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c
index 52de8c218f..49cd87f80f 100644
--- a/src/core/transport/chttp2_transport.c
+++ b/src/core/transport/chttp2_transport.c
@@ -420,6 +420,9 @@ static void destruct_transport(transport *t) {
}
gpr_free(t->pings);
+ gpr_free(t->pending_callbacks.callbacks);
+ gpr_free(t->executing_callbacks.callbacks);
+
for (i = 0; i < t->num_pending_goaways; i++) {
gpr_slice_unref(t->pending_goaways[i].debug);
}