Update of /cvsroot/pypgsql/pypgsql
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv891
Modified Files:
pgconnection.c
Log Message:
06MAR2005 bga Found another missing PQclear() call in pgconnection.c
Fixed a syntax error in PgSQL.py
Index: pgconnection.c
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/pgconnection.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** pgconnection.c 6 Mar 2005 05:13:29 -0000 1.21
--- pgconnection.c 6 Mar 2005 20:00:07 -0000 1.22
***************
*** 504,507 ****
--- 504,508 ----
PyErr_SetString(exc, PQerrorMessage(PgConnection_Get(self)));
+ PQclear(res);
return (PyObject *)NULL;
}
|