From 482ef8b0db9e330ba9752d60de4dcece336dbeca Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Thu, 23 Apr 2015 11:38:20 -0700 Subject: [PATCH] Add required NULL check --- src/core/surface/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/surface/server.c b/src/core/surface/server.c index 202fafca25d..28f42f0fc3c 100644 --- a/src/core/surface/server.c +++ b/src/core/surface/server.c @@ -524,7 +524,7 @@ static void init_call_elem(grpc_call_element *elem, server_ref(chand->server); - server_mutate_op(elem, initial_op); + if (initial_op) server_mutate_op(elem, initial_op); } static void destroy_call_elem(grpc_call_element *elem) {