aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/server.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-06-01 09:18:50 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-06-01 09:18:50 -0700
commitfe020aa06045c14b5e9cf26c2ea5fd0dd1c55c2d (patch)
tree94f1497769514fdab17ac1e945ee88d2b3453ddb /src/core/surface/server.c
parente5cacfa29628fd9664f24462a330bc199280af53 (diff)
Fix memory leak, reduce spam
Diffstat (limited to 'src/core/surface/server.c')
-rw-r--r--src/core/surface/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/surface/server.c b/src/core/surface/server.c
index f173e7da4a..99e3ee6d2e 100644
--- a/src/core/surface/server.c
+++ b/src/core/surface/server.c
@@ -576,6 +576,8 @@ static void finish_shutdown_channel(void *p, int success) {
NULL, &op);
}
GRPC_CHANNEL_INTERNAL_UNREF(sca->chand->channel, "shutdown");
+
+ gpr_free(sca);
}
static void shutdown_channel(channel_data *chand, int send_goaway,