You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Xianqing He (Code Review)" <ge...@cloudera.org> on 2022/09/13 03:07:11 UTC

[Impala-ASF-CR] IMPALA-11557: Fix memory leak in BlockingRowBatchQueue

Xianqing He has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/18960 )

Change subject: IMPALA-11557: Fix memory leak in BlockingRowBatchQueue
......................................................................

IMPALA-11557: Fix memory leak in BlockingRowBatchQueue

'batch_queue_' is a pointer to store the RowBatches. It's
initialized in the constructor but not deleted in the destructor.

The way to fix in the patch is to use std::unique_ptr.

Change-Id: I656316b6575ce74a03b83fcd45e772c763835d56
---
M be/src/runtime/blocking-row-batch-queue.h
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/60/18960/2
-- 
To view, visit http://gerrit.cloudera.org:8080/18960
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I656316b6575ce74a03b83fcd45e772c763835d56
Gerrit-Change-Number: 18960
Gerrit-PatchSet: 2
Gerrit-Owner: Xianqing He <he...@126.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Sahil Takiar <st...@cloudera.com>