[ https://issues.apache.org/jira/browse/FLINK-9580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16521967#comment-16521967 ]
ASF GitHub Bot commented on FLINK-9580: --------------------------------------- Github user zentol commented on the issue: https://github.com/apache/flink/pull/6166 merging. > Potentially unclosed ByteBufInputStream in RestClient#readRawResponse > --------------------------------------------------------------------- > > Key: FLINK-9580 > URL: https://issues.apache.org/jira/browse/FLINK-9580 > Project: Flink > Issue Type: Bug > Reporter: Ted Yu > Assignee: vinoyang > Priority: Minor > Labels: pull-request-available > > Here is related code: > {code} > ByteBufInputStream in = new ByteBufInputStream(content); > byte[] data = new byte[in.available()]; > in.readFully(data); > {code} > In the catch block, ByteBufInputStream is not closed. -- This message was sent by Atlassian JIRA (v7.6.3#76005)