Memory leak in lobj example code

Поиск
Список
Период
Сортировка
От Nishad Prakash
Тема Memory leak in lobj example code
Дата
Msg-id Pine.GSO.4.21.0010161040490.14746-100000@e4e.oac.uci.edu
обсуждение исходный текст
Ответы Re: Memory leak in lobj example code  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-docs
In the Programmer's Guide, the sample code for accessing large objects
from libpq has two functions with memory leaks.

The functions pickout() and overwrite() malloc space for buf which is
never freed.

See
http://www.postgresql.org/users-lounge/docs/7.0/programmer/largeobjects3207.htm

This problem is also in the 6.5 docs at
http://www.postgresql.org/users-lounge/docs/6.5/programmer/x3184.htm


Nishad
--
"Underneath the concrete, the dream is still alive" -- Talking Heads



В списке pgsql-docs по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Query from sindhu
Следующее
От: "He Weiping (Laser Henry)"
Дата:
Сообщение: duplicated item in installation.sgml