Re: Possible memory leak/memory issue in pg_dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Tennant <joetennant(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Possible memory leak/memory issue in pg_dump
Date: 2012-08-14 21:30:25
Message-ID: 13647.1344979825@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Joe Tennant <joetennant(at)gmail(dot)com> writes:
> While browsing the code, "pg_dump.c" the following block *appears* to
> be problematic. Additionally, there *appears* to be a malloc without a
> free (return or assignment) in the function "getBlobs(Archive *AH)"
> (pg_dump.c lines 2169 thru 2188 v9.1.4).

All those data structures are supposed to survive for the life of the
pg_dump run, so this isn't a leak.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Zdeněk Jílovec 2012-08-14 22:02:50 ERROR - CREATE GIST INDEX on 9.2 beta3
Previous Message Bruce Momjian 2012-08-14 21:29:40 Re: BUG #6150: commit_delay should have unit ms