diff options
author | Noah Eisen <ncteisen@google.com> | 2017-04-20 12:33:46 -0700 |
---|---|---|
committer | Noah Eisen <ncteisen@google.com> | 2017-04-20 12:33:46 -0700 |
commit | 65c23aa749f1e9c8b3534aed40d9a3e282b78918 (patch) | |
tree | db6c688e1a907aa0eecb4c7af6f95ba5bc1c851a | |
parent | feaee850bf82251f3797749f9b2ef4580b1ba002 (diff) |
Fix error refcount bug
-rw-r--r-- | src/core/ext/filters/message_size/message_size_filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ext/filters/message_size/message_size_filter.c b/src/core/ext/filters/message_size/message_size_filter.c index db0f011905..e3ffc41f90 100644 --- a/src/core/ext/filters/message_size/message_size_filter.c +++ b/src/core/ext/filters/message_size/message_size_filter.c @@ -130,6 +130,8 @@ static void recv_message_ready(grpc_exec_ctx* exec_ctx, void* user_data, GRPC_ERROR_UNREF(new_error); } gpr_free(message_string); + } else { + GRPC_ERROR_REF(error); } // Invoke the next callback. grpc_closure_run(exec_ctx, calld->next_recv_message_ready, error); |