Subject: | memory leaks at disconnect |
DBD::SQLite::Amalgamation leaks memory in sqlite_db_disconnect.
follow is patch.
=== dbdimp.c
==================================================================
--- dbdimp.c (revision 22200)
+++ dbdimp.c (local)
@@ -157,9 +157,11 @@
imp_dbh->db = NULL;
av_undef(imp_dbh->functions);
+ SvREFCNT_dec(imp_dbh->functions);
imp_dbh->functions = (AV *)NULL;
av_undef(imp_dbh->aggregates);
+ SvREFCNT_dec(imp_dbh->aggregates);
imp_dbh->aggregates = (AV *)NULL;
return TRUE;
DBD::SQLite has same bug. I've sent same report to msergeant.
http://rt.cpan.org/Ticket/Display.html?id=37215