Re: BUG #6672: Memory leaks in dumputils.c - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #6672: Memory leaks in dumputils.c
Date
Msg-id 2620.1338527206@sss.pgh.pa.us
Whole thread Raw
In response to BUG #6672: Memory leaks in dumputils.c  (zaks.anna@gmail.com)
Responses Re: BUG #6672: Memory leaks in dumputils.c
Re: BUG #6672: Memory leaks in dumputils.c
List pgsql-bugs
zaks.anna@gmail.com writes:
> The following bug has been logged on the website:
> Bug reference:      6672
> Logged by:          Anna Zaks
> Email address:      zaks.anna@gmail.com
> PostgreSQL version: 9.1.3
> Operating system:   MacOSX
> Description:

> There are two memory leaks in dumputils (v9.2.0beta1):

> 1)
> File:   src/bin/scripts/dumputils.c
> Location:       line 604, column 11
> Description:    Memory is never released; potential leak of memory
> pointed to by 'aclitems'

> 2)
> File:   src/bin/scripts/dumputils.c
> Location:       line 793, column 10
> Description:    Memory is never released; potential leak of memory
> pointed to by 'eqpos'

This is a remarkably unhelpful report.  I do not see any memory
allocation occurring on either line 604 or line 793 of dumputils.c,
in either 9.2beta1 or 9.1.3.  Could you perhaps provide source code
extracts rather than line numbers that reference indeterminate versions
of files?

> See detailed error paths in the attached html reports.

There were no html reports attached, and I'd prefer plain text
anyway please ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #6669: unique index w/ multiple columns and NULLs
Next
From: Peter Geoghegan
Date:
Subject: Re: BUG #6672: Memory leaks in dumputils.c