[BUGS] BUG #6133: -lpq frees unallocated memory on exit

2011-07-27 Thread Kurt Mielke
The following bug has been logged online: Bug reference: 6133 Logged by: Kurt Mielke Email address: k...@it-pilots.com PostgreSQL version: 8.4.8 + 9.0.4 Operating system: Centos X86_64 5.5 6.0 Description:-lpq frees unallocated memory on exit Details: x.c: is a

Re: [BUGS] BUG #6133: -lpq frees unallocated memory on exit

2011-07-27 Thread Tom Lane
Kurt Mielke k...@it-pilots.com writes: PostgreSQL version: 8.4.8 + 9.0.4 Operating system: Centos X86_64 5.5 6.0 x.c: is a very simple c-program: main() { } When compiled with gcc -o x -lpq x.c valgrind ./x says invalid free ... Address 0x4029508 is not stack'd, malloc'd or