Re: Possible memory leak/memory issue in pg_dump - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Possible memory leak/memory issue in pg_dump
Date
Msg-id 13647.1344979825@sss.pgh.pa.us
Whole thread Raw
In response to Possible memory leak/memory issue in pg_dump  (Joe Tennant <joetennant@gmail.com>)
List pgsql-bugs
Joe Tennant <joetennant@gmail.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

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #6150: commit_delay should have unit ms
Next
From: Craig Ringer
Date:
Subject: Re: BUG #7485: 9.2 beta3 libxml2 can't be loaded on Windows