From c593ca017161e48367bf7182f01dac477109cf21 Mon Sep 17 00:00:00 2001
From: Vijay Pai <vpai@google.com>
Date: Mon, 8 Feb 2016 11:38:42 -0800
Subject: [PATCH] reset the shared_ptr

---
 include/grpc++/impl/codegen/call.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/grpc++/impl/codegen/call.h b/include/grpc++/impl/codegen/call.h
index d342a3a25a..c075388266 100644
--- a/include/grpc++/impl/codegen/call.h
+++ b/include/grpc++/impl/codegen/call.h
@@ -544,7 +544,7 @@ class CallOpSet : public CallOpSetInterface,
     this->Op5::FinishOp(status, max_message_size_);
     this->Op6::FinishOp(status, max_message_size_);
     *tag = return_tag_;
-    SetCollection(nullptr); // drop the ref at this point
+    collection_.reset(); // drop the ref at this point
     return true;
   }
 
-- 
GitLab