[svn:DBD-Pg] r12613 - DBD-Pg/trunk

[email protected]
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Author: turnstep
Date: Wed Mar 18 12:25:07 2009
New Revision: 12613

Modified:
   DBD-Pg/trunk/dbdimp.c

Log:
Return noinc version from destringify_array. Should fix memory leak reported in 44225.


Modified: DBD-Pg/trunk/dbdimp.c
==============================================================================
--- DBD-Pg/trunk/dbdimp.c	(original)
+++ DBD-Pg/trunk/dbdimp.c	Wed Mar 18 12:25:07 2009
@@ -2625,7 +2625,7 @@
 	Safefree(string);
 
 	if (TEND) TRC(DBILOGFP, "%sEnd pg_destringify_array\n", THEADER);
-	return newRV((SV*)av);
+	return newRV_noinc((SV*)av);
 
 } /* end of pg_destringify_array */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.