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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kurt Mielke" <kurt(at)it-pilots(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6133: -lpq frees unallocated memory on exit
Date: 2011-07-27 23:50:39
Message-ID: 19597.1311810639@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Kurt Mielke" <kurt(at)it-pilots(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2011-07-28 18:10:23 Re: pg_restore silently chokes on object comments/descriptions ending in a backslash
Previous Message Robert Haas 2011-07-27 20:28:25 Re: BUG #5953: pgadmin sql-query text pad doesn't work