Bug 726434

Summary: Coverity: Resource Leaks (non JDBC leaks)
Product: [Other] RHQ Project Reporter: Mike Foley <mfoley>
Component: Core ServerAssignee: Robert Buck <rbuck>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1CC: hrupp, rbuck
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 729947 (view as bug list) Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mike Foley 2011-07-28 15:06:26 UTC
Description of problem:  The RHQ Team at the 7/28/2011 Coverity meeting decided to address this category of issue:  Resource Leaks (non-JDBC leaks)


http://coverity.lab.bos.redhat.com:8080/defects/index.htm?projectId=10030&view=AAAAAAAAJxo_

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Robert Buck 2011-08-09 16:01:45 UTC
commit e2f2f54d036091eeda96f18151c9fdc82a3ed728
Author: Robert Buck <rbuck>
Date:   2011-08-09 11:50:19 -0400
[BZ 726434] Fix io stream resource leak; also fixed a javadoc issue that caused code-red.

Comment 2 Robert Buck 2011-08-09 18:49:27 UTC
commit e2f2f54d036091eeda96f18151c9fdc82a3ed728
Author: Robert Buck <rbuck>
Date:   2011-08-09 11:50:19 -0400
[BZ 726434] Fix io stream resource leak; also fixed a javadoc issue that caused
code-red.
Coverty #: 13275: RESOURCE_LEAK

Comment 3 Robert Buck 2011-08-09 21:35:43 UTC
commit 7877a3e5be5f8f0dfa657587a884b52e70ea1181
Author: Robert Buck <rbuck>
Date:   2011-08-09 17:33:24 -0400
[BZ 726435][coverity 13283] Fix Coverity identified RESOURCE_LEAK; close some IO streams.
Coverity #: 13283: RESOURCE_LEAK

Comment 4 Robert Buck 2011-08-09 22:35:18 UTC
commit 5cad7eabcfad901a4b1fc4673d8fa59ce5ad5de4
Author: Robert Buck <rbuck>
Date:   2011-08-09 18:34:37 -0400
[BZ 726435][coverity 13112, 13113, 13276, 13277, 13041, 13025, 13005, 13012] Fix Coverity identified RESOURCE_LEAK; close some IO streams.

Comment 5 Robert Buck 2011-08-10 11:34:56 UTC
commit 1eea642da40862bc5f0e9839542836cf7f5e8d8f
Author: Robert Buck <rbuck>
Date:   2011-08-10 07:32:28 -0400
[BZ 726435][coverity 13231, 13284, 13288, 13343, 13344, 13361, 13417, 13424, 13504, 13521, 13527, 13542, 14054] Fix Coverity identified RESOURCE_LEAK; close some IO streams.

Comment 6 Robert Buck 2011-08-10 12:30:29 UTC
commit f286cfe6f1b4f87516942545c6dc8d8031b12f9e
Author: Robert Buck <rbuck>
Date:   2011-08-10 08:23:20 -0400
[BZ 726435][coverity 13171] Fix Coverity identified REVERSE_INULL. Fix unnecessary boxing of '0' to Integer object returns.

Comment 7 Robert Buck 2011-08-10 14:07:40 UTC
commit dc3c6f68af412eb7826e71ae62f43cc3c1d66a06
Author: Robert Buck <rbuck>
Date:   2011-08-10 09:58:31 -0400

[BZ 726435][coverity 13546 12979 12996] Fix Coverity identified FORWARD_NULL. Also, fixed several bitwise-and uses on booleans, switching to logical-and.
FORWARD_NULL: 13546 12979 12996

Comment 8 Robert Buck 2011-08-10 14:07:52 UTC
commit b47ed240bbd1a0bce77649fc77007383f25ca35e
Author: Robert Buck <rbuck>
Date:   2011-08-10 10:07:08 -0400
[BZ 726435] Fixed several bitwise-or uses on booleans, switching to logical-or.

Comment 9 Robert Buck 2011-08-11 13:10:25 UTC
commit 421022285376d56a807a62e45fb0637c76131602
Author: Robert Buck <rbuck>
Date:   2011-08-11 09:06:56 -0400
[BZ 726435][coverity] Fix Coverity identified RESOURCE_LEAK; close some IO streams.

Comment 10 Robert Buck 2011-08-11 16:31:44 UTC
commit 3132cbae82742a6e32adc598c81eaa574c45462b
Author: Robert Buck <rbuck>
Date:   2011-08-11 12:30:07 -0400
[BZ 726435][coverity 13064, 13106, 13115, 13231, 13232, 13283, 13346] Fix Coverity identified RESOURCE_LEAK; close some IO streams.

Comment 11 Mike Foley 2012-02-07 19:30:31 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE

Comment 12 Mike Foley 2012-02-07 19:30:42 UTC
marking VERIFIED BZs to CLOSED/CURRENTRELEASE