]> granicus.if.org Git - postgresql/commit
Squash longstanding memory leak: when catcache.c copied a tuple into
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 4 Feb 2000 03:16:03 +0000 (03:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 4 Feb 2000 03:16:03 +0000 (03:16 +0000)
commitb64826a47d3dd81feccd40667b14f86c75e3d7b9
tree3db7466738cfe7d2ea52f6c09872aee65630954f
parent16d0adb93f9f54747a98a39bf76dd2e83461e10e
Squash longstanding memory leak: when catcache.c copied a tuple into
the cache context, it didn't bother to free the tuple that
CatalogIndexFetchTuple had allocated in the transaction context.
Do enough cache lookups in the same xact, and you start to notice...
src/backend/utils/cache/catcache.c