]> granicus.if.org Git - postgresql/commit
From: Igor <igor@sba.miami.edu>
authorMarc G. Fournier <scrappy@hub.org>
Mon, 2 Jun 1997 02:52:06 +0000 (02:52 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 2 Jun 1997 02:52:06 +0000 (02:52 +0000)
commitf9f98e3aff781271b5f3df4f8df61acc83dc6ce3
tree549e675b1eaf276585a03d8cab73bc2976cedb33
parenta27fafecc58ae6ba1566d5a8db51067046818dfd
From: Igor <igor@sba.miami.edu>
Subject: [PATCHES] pg_dump memory leak patch

This patch fixes a HUGE memory leak problem in pg_dump.
Pretty much anything that was allocated was never freed and Purify
reported about 40% possible memory leak and 6% actual leak. I added
functions to clear out all the allocated structures. After the patch
Purify returns 0 for number of bytes leaked...
src/bin/pg_dump/common.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h