From 77fa59d78923815ef7403bd738784e9c0be24c54 Mon Sep 17 00:00:00 2001 From: guoweis Date: Thu, 17 Dec 2015 18:02:26 -0800 Subject: [PATCH] Fix build break in google3 import caused by https://codereview.webrtc.org/1532543003 TBR=pthatcher@webrtc.org BUG= Review URL: https://codereview.webrtc.org/1537683003 Cr-Commit-Position: refs/heads/master@{#11076} --- talk/session/media/srtpfilter.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/talk/session/media/srtpfilter.cc b/talk/session/media/srtpfilter.cc index 7961a7ba06..a200a3c4c2 100644 --- a/talk/session/media/srtpfilter.cc +++ b/talk/session/media/srtpfilter.cc @@ -450,10 +450,10 @@ bool SrtpFilter::ApplyParams(const CryptoParams& send_params, bool SrtpFilter::ResetParams() { offer_params_.clear(); state_ = ST_INIT; - (void)send_session_.release(); - (void)recv_session_.release(); - (void)send_rtcp_session_.release(); - (void)recv_rtcp_session_.release(); + send_session_ = nullptr; + recv_session_ = nullptr; + send_rtcp_session_ = nullptr; + recv_rtcp_session_ = nullptr; LOG(LS_INFO) << "SRTP reset to init state"; return true; }