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

pgsql-server/src/backend nodes/list.c optimize ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend nodes/list.c optimize ...
Date: 2002-12-17 01:18:38
Message-ID: 20021217011838.99AB047612C@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	tgl(at)postgresql(dot)org	02/12/16 20:18:38

Modified files:
	src/backend/nodes: list.c 
	src/backend/optimizer/path: pathkeys.c 
	src/backend/optimizer/plan: initsplan.c 
	src/backend/parser: analyze.c 
	src/backend/rewrite: rewriteHandler.c 
	src/backend/utils/adt: selfuncs.c 

Log message:
	To suppress memory leakage in long-lived Lists, lremove() should pfree
	the cons cell it's deleting from the list.  Do this, and fix a few callers
	that were bogusly assuming it wouldn't free the cons cell.


pgsql-committers by date

Next:From: Christopher Kings-LynneDate: 2002-12-17 02:07:55
Subject: Password security question
Previous:From: Tom LaneDate: 2002-12-16 21:30:30
Subject: pgsql-server/src backend/optimizer/geqo/geqo_e ...

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