zhangqianqiong has uploaded a new patch set (#7). ( 
http://gerrit.cloudera.org:8080/20175 )

Change subject: IMPALA-12274: Fix memory leak from unreleased local reference
......................................................................

IMPALA-12274: Fix memory leak from unreleased local reference

In the constructor of the catalog class, after converting the catalog
object created by NewObject to a global reference, the local reference
was forgotten to be released, resulting in a minor memory leak.

The solution is to use JniLocalFrame to automatically manage the local
reference, ensuring proper memory management.

Testing: manually test

Change-Id: Ic93ea3270dcba3ad4903aa053cc283d4f700e948
---
M be/src/catalog/catalog.cc
M be/src/catalog/catalog.h
2 files changed, 7 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/75/20175/7
--
To view, visit http://gerrit.cloudera.org:8080/20175
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic93ea3270dcba3ad4903aa053cc283d4f700e948
Gerrit-Change-Number: 20175
Gerrit-PatchSet: 7
Gerrit-Owner: zhangqianqiong <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: zhangqianqiong <[email protected]>

Reply via email to