Skip site navigation (1) Skip section navigation (2)

Memory leak in lobj example code

From: Nishad Prakash <prakashn(at)uci(dot)edu>
To: pgsql-docs(at)postgresql(dot)org
Subject: Memory leak in lobj example code
Date: 2000-10-16 17:46:48
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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.


This problem is also in the 6.5 docs at

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


pgsql-docs by date

Next:From: He Weiping (Laser Henry)Date: 2000-10-17 05:23:13
Subject: duplicated item in installation.sgml
Previous:From: Peter EisentrautDate: 2000-10-10 15:52:01
Subject: Re: [PATCHES] Re: [ANNOUNCE] Announce: Release of PyGreSQL version 3.0

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group