Commit 3693743a authored by Matt Tucker's avatar Matt Tucker Committed by matt

Close result set in count method.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1367 b35dd754-fafc-0310-a699-88a17e54d16e
parent 22a40ad2
...@@ -177,6 +177,7 @@ public class DefaultUserProvider implements UserProvider { ...@@ -177,6 +177,7 @@ public class DefaultUserProvider implements UserProvider {
if (rs.next()) { if (rs.next()) {
count = rs.getInt(1); count = rs.getInt(1);
} }
rs.close();
} }
catch (SQLException e) { catch (SQLException e) {
Log.error(e); Log.error(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