Author: turnstep
Date: Thu Nov 30 18:54:41 2006
New Revision: 8333
Modified:
DBD-Pg/trunk/Changes
DBD-Pg/trunk/dbdimp.c
Log:
Patch memory leak in pg_notifies, patch from Stephen Marshall.
Modified: DBD-Pg/trunk/Changes
==============================================================================
--- DBD-Pg/trunk/Changes (original)
+++ DBD-Pg/trunk/Changes Thu Nov 30 18:54:41 2006
@@ -3,6 +3,8 @@
1.50
- Switch from cvs to subversion. Switch from gborg to perl.org.
- Fix pg_description join in table_info(). [EMAIL PROTECTED]
+ - Fix memory leak in pg_notifies. [Stephen Marshall [EMAIL PROTECTED]
+ (CPAN bug #21380)
1.49 May 7, 2006
- Thanks to Backcountry.com for sponsoring work on this release. [GSM]
Modified: DBD-Pg/trunk/dbdimp.c
==============================================================================
--- DBD-Pg/trunk/dbdimp.c (original)
+++ DBD-Pg/trunk/dbdimp.c Thu Nov 30 18:54:41 2006
@@ -835,7 +835,7 @@
retsv = newRV(sv_2mortal((SV*)ret));
- return retsv;
+ return sv_2mortal(retsv);
} /* end of dbd_db_pg_notifies */