flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-8146) Potential resource leak in PythonPlanBinder#unzipPythonLibrary
Date Mon, 04 Dec 2017 17:30:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated FLINK-8146:
--------------------------
    Component/s: Python API

> 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
>            Reporter: Ted Yu
>
> {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
(v6.4.14#64029)

Mime
View raw message