From: Andrew M. <an...@ob...> - 2007-04-28 07:34:58
|
This patch, against the CVS HEAD, fixes a reference leak in the handling of the PgConnection_Type - the cinfo element reference was not being released in PgConnection_dealloc. The patch also initialises the PgConnection structure as I don't think you can count on the return from PyObject_New being zeroed out. If you would rather, grant my SF account commit privs, and I'll apply these myself (username "andrewmcnamara"). -- Andrew McNamara, Senior Developer, Object Craft http://www.object-craft.com.au/ |