aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-04-12 09:14:26 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-04-12 09:14:26 -0700
commit161e4baf74eaf760cd028a833a5a05d3e51796ae (patch)
tree923af2853180c47b668d8d033ba1756ed5831c30 /src
parentfeb77ef996b946371c4abb77fdf86f53ee968809 (diff)
Fix memory leak
Diffstat (limited to 'src')
-rw-r--r--src/core/ext/filters/http/message_compress/message_compress_filter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ext/filters/http/message_compress/message_compress_filter.c b/src/core/ext/filters/http/message_compress/message_compress_filter.c
index 978dbd61d4..00bd271dd5 100644
--- a/src/core/ext/filters/http/message_compress/message_compress_filter.c
+++ b/src/core/ext/filters/http/message_compress/message_compress_filter.c
@@ -286,6 +286,8 @@ static void compress_start_transport_stream_op_batch(
grpc_transport_stream_op_batch_finish_with_failure(
exec_ctx, (grpc_transport_stream_op_batch *)cur,
op->payload->cancel_stream.cancel_error);
+ } else {
+ GRPC_ERROR_UNREF((grpc_error*)(cur & ~CANCELLED_BIT));
}
break;
}