Re: BUG #6672: Memory leaks in dumputils.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6672: Memory leaks in dumputils.c
Дата
Msg-id 2620.1338527206@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #6672: Memory leaks in dumputils.c  (zaks.anna@gmail.com)
Ответы Re: BUG #6672: Memory leaks in dumputils.c  (Peter Geoghegan <peter@2ndquadrant.com>)
Re: BUG #6672: Memory leaks in dumputils.c  (Josh Kupershmidt <schmiddy@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #6669: unique index w/ multiple columns and NULLs
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: BUG #6672: Memory leaks in dumputils.c