You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/14 17:42:06 UTC

[jira] [Commented] (CB-8253) Fix potential unreleased resources

    [ https://issues.apache.org/jira/browse/CB-8253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14957107#comment-14957107 ] 

ASF GitHub Bot commented on CB-8253:
------------------------------------

Github user vladimir-kotikov commented on the pull request:

    https://github.com/apache/cordova-plugin-camera/pull/67#issuecomment-148089986
  
    @akinzie, could you please close this, since it has been merged already in https://github.com/apache/cordova-plugin-camera/pull/90


> Fix potential unreleased resources
> ----------------------------------
>
>                 Key: CB-8253
>                 URL: https://issues.apache.org/jira/browse/CB-8253
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Camera
>            Reporter: Alan Kinzie
>            Assignee: Alan Kinzie
>
> There are several places in the Camera plugin where streams are not closed in a finally block allowing for the possibility they will never be closed if an exception occurs at the wrong place.
> Although this doesn't affect functionality as far as I can tell (if enough resources streams are not closed properly maybe it could affect performance), it does show up as an issue in static code analysis tools (such as Fortify).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org