To suppress memory leakage in long-lived Lists, lremove() should pfree

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e932a724a4a372c7db21ce7bf40250576b085041
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-12-17T01:18:35Z
Releases: 7.4.1
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.

Files