Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81D1AC58D for ; Wed, 7 Jan 2015 19:02:33 +0000 (UTC) Received: (qmail 64521 invoked by uid 500); 7 Jan 2015 19:02:34 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 64496 invoked by uid 500); 7 Jan 2015 19:02:34 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 64485 invoked by uid 99); 7 Jan 2015 19:02:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 19:02:34 +0000 Date: Wed, 7 Jan 2015 19:02:34 +0000 (UTC) From: "Jesse MacFadyen (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-8253) Fix potential unreleased resources MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-8253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen updated CB-8253: -------------------------------- Assignee: Alan Kinzie > 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