Re: BUG #6133: -lpq frees unallocated memory on exit - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #6133: -lpq frees unallocated memory on exit
Date
Msg-id 19597.1311810639@sss.pgh.pa.us
Whole thread Raw
In response to BUG #6133: -lpq frees unallocated memory on exit  ("Kurt Mielke" <kurt@it-pilots.com>)
List pgsql-bugs
"Kurt Mielke" <kurt@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
> (recently) free'd"

Can't reproduce this on my own Red Hat machines ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Kurt Mielke"
Date:
Subject: BUG #6133: -lpq frees unallocated memory on exit
Next
From: Tom Lane
Date:
Subject: Re: pg_restore silently chokes on object comments/descriptions ending in a backslash