Chris Browne cbbrowne at lists.slony.info
Fri Jun 27 13:16:07 PDT 2008
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv16503

Modified Files:
	remote_worker.c 
Log Message:
Clear a result set, thereby resolving a memory leak.


Index: remote_worker.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.172
retrieving revision 1.173
diff -C2 -d -r1.172 -r1.173
*** remote_worker.c	17 Jun 2008 17:48:15 -0000	1.172
--- remote_worker.c	27 Jun 2008 20:16:04 -0000	1.173
***************
*** 2867,2870 ****
--- 2867,2871 ----
  			if (rc < 0)
  			{
+ 					PQclear(res3);
  				slon_disconnectdb(pro_conn);
  				dstring_free(&query1);



More information about the Slony1-commit mailing list