BUG #6672: Memory leaks in dumputils.c

From: zaks(dot)anna(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6672: Memory leaks in dumputils.c
Date: 2012-05-31 22:35:39
Message-ID: E1SaDxz-0004Vi-8t@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 6672
Logged by: Anna Zaks
Email address: zaks(dot)anna(at)gmail(dot)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'

See detailed error paths in the attached html reports.

Issues found by clang static analyzer.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2012-05-31 22:48:01 Re: BUG #6668: hashjoin cost problem
Previous Message Bruce Momjian 2012-05-31 22:30:30 Re: BUG #6666: pg_upgrade 9.2beta1 plpython/plpython2