Commit f3fb3d27 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed leaking of prepared statements. JM-586

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3524 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3bf246f0
...@@ -318,6 +318,8 @@ public class RosterItemProvider { ...@@ -318,6 +318,8 @@ public class RosterItemProvider {
} }
// Close the result set // Close the result set
rs.close(); rs.close();
// Close the prepared statement
pstmt.close();
} }
} }
catch (SQLException e) { catch (SQLException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment