diff options
author | 2016-03-22 22:12:15 -0700 | |
---|---|---|
committer | 2016-03-22 22:12:15 -0700 | |
commit | 2c8063cc7200789da67a10c53d98d0d15b1ad378 (patch) | |
tree | 63535b33dc626b2b8a2fbb77d03e955b1fdd8a45 /src/core/channel/compress_filter.c | |
parent | a67a83ebde2ab47b230857d47330ac63c7ab62b1 (diff) |
Introduce a new memory reclamation scheme for channel stacks
Allows the bottom member of the stack to schedule the actual deallocation, allowing a final transport lock to be entered when destroying a call.
Diffstat (limited to 'src/core/channel/compress_filter.c')
-rw-r--r-- | src/core/channel/compress_filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/channel/compress_filter.c b/src/core/channel/compress_filter.c index 3e7ca08fd2..d5d5fc2e35 100644 --- a/src/core/channel/compress_filter.c +++ b/src/core/channel/compress_filter.c @@ -246,8 +246,8 @@ static void init_call_elem(grpc_exec_ctx *exec_ctx, grpc_call_element *elem, } /* Destructor for call_data */ -static void destroy_call_elem(grpc_exec_ctx *exec_ctx, - grpc_call_element *elem) { +static void destroy_call_elem(grpc_exec_ctx *exec_ctx, grpc_call_element *elem, + void *ignored) { /* grab pointers to our data from the call element */ call_data *calld = elem->call_data; gpr_slice_buffer_destroy(&calld->slices); |