From: Billy G. A. <bal...@us...> - 2005-03-06 05:13:39
|
Update of /cvsroot/pypgsql/pypgsql In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13918 Modified Files: pgconnection.c Log Message: 05MAR2005 bga Implemented partial fix given in Patch #987719. Index: pgconnection.c =================================================================== RCS file: /cvsroot/pypgsql/pypgsql/pgconnection.c,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** pgconnection.c 10 May 2004 03:34:03 -0000 1.20 --- pgconnection.c 6 Mar 2005 05:13:29 -0000 1.21 *************** *** 29,32 **** --- 29,34 ---- | Date Ini Description | | --------- --- ------------------------------------------------------- | + | 05MAR2005 bga Added missing PQclear() (fixes minor memory leak). | + | [Bug #987719] | | 09MAY2004 bga Added a 'debug' feature to the PgConnection object. | | 26JUN2003 bga Fixed a bug I introduced into lo_import. | *************** *** 385,388 **** --- 387,391 ---- PyErr_SetString(exc, errmsg); + PQclear(res); return NULL; } |