Skip to content

Commit c25a3de

Browse files
committed
#15 - Memory leak in case PostgreSQL JDBC driver is used
1 parent cc0e9df commit c25a3de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/ebean/datasource/pool/PooledConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ public void close() throws SQLException {
499499

500500
// the connection is assumed GOOD so put it back in the pool
501501
lastUseTime = System.currentTimeMillis();
502-
// connection.clearWarnings();
502+
connection.clearWarnings();
503503
status = STATUS_IDLE;
504504
pool.returnConnection(this);
505505

0 commit comments

Comments
 (0)