**[Keith Donald](https://jira.spring.io/secure/ViewProfile.jspa?name=kdonald)** opened **[SPR-7536](https://jira.spring.io/browse/SPR-7536?redirect=false)** and commented This leads to a resource leak. The offending code appears to be on line 158 of EmbeddedDatabaseFactory, populateDatabase method. --- **Affects:** 3.0.4 **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/c2dab9c20055c6d175849d9cecbd4ce10f854660