reviewable/pr8239/r2
Craig Tiller 8 years ago
parent fe4f0012c6
commit 6c9b53e893
  1. 2
      src/core/lib/iomgr/buffer_pool.c
  2. 4
      src/core/lib/iomgr/buffer_pool.h

@ -263,6 +263,8 @@ static void bp_resize(grpc_exec_ctx *exec_ctx, void *args, grpc_error *error) {
!bulist_empty(a->buffer_pool, GRPC_BULIST_AWAITING_ALLOCATION)) {
bpstep_sched(exec_ctx, a->buffer_pool);
}
grpc_buffer_pool_internal_unref(exec_ctx, a->buffer_pool);
gpr_free(a);
}
/*******************************************************************************

@ -38,6 +38,10 @@
#include "src/core/lib/iomgr/exec_ctx.h"
grpc_buffer_pool *grpc_buffer_pool_internal_ref(grpc_buffer_pool *buffer_pool);
void grpc_buffer_pool_internal_unref(grpc_exec_ctx *exec_ctx,
grpc_buffer_pool *buffer_pool);
typedef enum {
GRPC_BULIST_AWAITING_ALLOCATION,
GRPC_BULIST_NON_EMPTY_FREE_POOL,

Loading…
Cancel
Save