]> granicus.if.org Git - postgresql/commit
Fix leakage of memory context header in find_all_inheritors().
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 May 2017 23:33:31 +0000 (19:33 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 May 2017 23:33:31 +0000 (19:33 -0400)
commitddd243584a0f353bbaba260d976cc41b251bbf21
tree9fc39053efa6c233ed25799e0b056849894063eb
parenta19ea9c6601bfb06dfd9f4c1060550dbc3f7bde1
Fix leakage of memory context header in find_all_inheritors().

Commit 827d6f977 contained the same misunderstanding of hash_create's API
as commit 090010f2e.  As in 5d00b764c, remove the unnecessary layer of
memory context.  (This bug is less significant than the other one, since
the extra context would be under a relatively short-lived context, but
it's still a bug.)
src/backend/catalog/pg_inherits.c