From: Haomai Wang Date: Thu, 29 Jan 2015 16:48:57 +0000 (+0800) Subject: async: directly call delete without check X-Git-Tag: v0.93~136^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3501%2Fhead;p=ceph.git async: directly call delete without check Signed-off-by: Haomai Wang --- diff --git a/src/msg/async/AsyncConnection.cc b/src/msg/async/AsyncConnection.cc index 3ca6a116396..9af029cd402 100644 --- a/src/msg/async/AsyncConnection.cc +++ b/src/msg/async/AsyncConnection.cc @@ -200,8 +200,7 @@ AsyncConnection::~AsyncConnection() { assert(out_q.empty()); assert(sent.empty()); - if(authorizer) - delete authorizer; + delete authorizer; if (recv_buf) delete[] recv_buf; if (state_buffer)