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: (view raw, whole thread or download thread mbox)
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-2017 The PostgreSQL Global Development Group