pgsql/doc/src/sgml lobj.sgml

From: Bruce Momjian - CVS <momjian(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/doc/src/sgml lobj.sgml
Date: 2001-01-20 00:05:55
Message-ID: 200101200005.f0K05t738921@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: momjian(at)hub(dot)org 01/01/19 19:05:54

Modified files:
doc/src/sgml : lobj.sgml

Log message:
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 Prakash

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2001-01-20 00:09:24 Re: pgsql/src/include storage/s_lock.h port/freebs ...
Previous Message Tom Lane 2001-01-20 00:03:55 pgsql/src/include storage/s_lock.h port/freebs ...