wangbo commented on code in PR #20278:
URL: https://github.com/apache/doris/pull/20278#discussion_r1212498727


##########
be/src/vec/sink/vdata_stream_sender.h:
##########
@@ -456,6 +420,9 @@ class PipChannel final : public Channel {
         if (_ch_cur_pb_block) {
             delete _ch_cur_pb_block;
         }
+        if (_closure) {
+            delete _closure;

Review Comment:
   _closure is a unique_ptr,it need not to be delete manually.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to