Chris Browne cbbrowne at lists.slony.info
Tue May 13 14:45:17 PDT 2008
Update of /home/cvsd/slony1/slony1-engine/src/slony_logshipper
In directory main.slony.info:/tmp/cvs-serv18447

Modified Files:
	parser.y 
Log Message:
Processing of results was taking place after parameters were free()ed

Per bug #50 in Bugzilla


Index: parser.y
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slony_logshipper/parser.y,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** parser.y	9 Sep 2007 02:37:05 -0000	1.2
--- parser.y	13 May 2008 21:45:15 -0000	1.3
***************
*** 341,344 ****
--- 341,345 ----
  						slon_mkquery(&ds, "select %s.%s('%s', '%s');",
  								$2, $4, $6, $8);
+ 						rc = process_check_at_counter($6);
  						free($2);
  						free($4);
***************
*** 346,350 ****
  						free($8);
  
- 						rc = process_check_at_counter($6);
  						if (rc < 0)
  						{
--- 347,350 ----



More information about the Slony1-commit mailing list