Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8253

Fix potential unreleased resources

    XMLWordPrintableJSON

Details

    Description

      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).

      Attachments

        Activity

          People

            akinzie Alan Kinzie
            akinzie Alan Kinzie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: