shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jared Bunting (JIRA)" <>
Subject [jira] Created: (SHIRO-227) Leak in getPermissions method of JdbcRealm
Date Mon, 20 Dec 2010 19:35:06 GMT
Leak in getPermissions method of JdbcRealm

                 Key: SHIRO-227
             Project: Shiro
          Issue Type: Bug
            Reporter: Jared Bunting
         Attachments: JdbcRealm_Leak_Fix.patch

It appears that the JdbcRealm.getPermissions is leaking PreparedStatements and ResultSets.
 These are both created inside a for loop, but the finally block with close statements is
outside of the loop.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message