Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group