Skip Menu |

This queue is for tickets about the DBD-SQLite-Amalgamation CPAN distribution.

Report information
The Basics
Id: 37301
Status: new
Priority: 0/
Queue: DBD-SQLite-Amalgamation

People
Owner: Nobody in particular
Requestors: tokuhirom+cpan [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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