[
https://issues.apache.org/jira/browse/FLINK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339096#comment-16339096
]
ASF GitHub Bot commented on FLINK-8146:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/flink/pull/5349
> Potential resource leak in PythonPlanBinder#unzipPythonLibrary
> --------------------------------------------------------------
>
> Key: FLINK-8146
> URL: https://issues.apache.org/jira/browse/FLINK-8146
> Project: Flink
> Issue Type: Bug
> Components: Python API
> Affects Versions: 1.5.0
> Reporter: Ted Yu
> Assignee: Chesnay Schepler
> Priority: Major
> Fix For: 1.5.0
>
>
> {code}
> while (entry != null) {
> ...
> }
> zis.closeEntry();
> {code}
> Looking at the catch block inside the loop, it seems the intention is to
> close zis upon getting exception.
> zis.close() should be called outside the loop.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)