Bug 50 - Reading in at_counter doesn't work properly.
Summary: Reading in at_counter doesn't work properly.
Status: RESOLVED FIXED
Alias: None
Product: Slony-I
Classification: Unclassified
Component: slony_logshipper (show other bugs)
Version: 1.2
Hardware: All Linux
: medium normal
Assignee: Slony Bugs List
URL:
Depends on:
Blocks:
 
Reported: 2008-05-02 15:44 UTC by Richard Yen
Modified: 2008-05-13 14:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Yen 2008-05-02 15:44:58 UTC
Reading in at_counter is garbled up in my install.  My fix in parser.y:332 is:

+                        rc = process_check_at_counter($6);
                        free($2);
                        free($4);
                        free($6);
                        free($8);
-                        rc = process_check_at_counter($6);
Comment 1 Christopher Browne 2008-05-13 14:45:48 UTC
Agreed; freeing it before processing it sure seems premature!