zhangqianqiong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20175


Change subject: IMPALA-12274 Fix memory leak because of the local reference 
catalog was not released
......................................................................

IMPALA-12274 Fix memory leak because of the local reference catalog was not 
released

   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
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/75/20175/1
--
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: newchange
Gerrit-Change-Id: Ic93ea3270dcba3ad4903aa053cc283d4f700e948
Gerrit-Change-Number: 20175
Gerrit-PatchSet: 1
Gerrit-Owner: zhangqianqiong <[email protected]>

Reply via email to