Author: timbo
Date: Mon Jun 12 13:24:19 2006
New Revision: 6499
Modified:
dbi/trunk/Changes
dbi/trunk/DBI.xs
Log:
Fixed memory leak (16 bytes per sth) thanks to Doru Theodor Petrescu.
Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes (original)
+++ dbi/trunk/Changes Mon Jun 12 13:24:19 2006
@@ -4,6 +4,12 @@
=cut
+XXX update DBD::File (as sub-module?) to match latest.
+
+=head2 Changes in DBI 1.52 (svn rev XXX), XXX
+
+ Fixed memory leak (16 bytes per sth) thanks to Doru Theodor Petrescu.
+
=head2 Changes in DBI 1.51 (svn rev 6475), 6th June 2006
Fixed $dbh->clone method 'signature' thanks to Jeffrey Klein.
Modified: dbi/trunk/DBI.xs
==============================================================================
--- dbi/trunk/DBI.xs (original)
+++ dbi/trunk/DBI.xs Mon Jun 12 13:24:19 2006
@@ -1069,6 +1069,8 @@
SV *sv = av_shift(av);
if (SvOK(sv))
av_push(av, sv);
+ else
+ sv_free(sv); /* keep it leak-free by Doru
Petrescu [EMAIL PROTECTED] */
}
}
}