Fix missing hash_seq_term()

This was harmless because the function (ThereAreNoReadyPortals()) has
only one caller, and that caller throws an error if the function
returns false and transaction abort cleans up the in-progress hash
searches.  But if someone called the function in some other way,
they'd get a warning about a leaked hash_seq_search scan.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a2b64736bb657163dfb085f279b4e1272b647448

Modified Files
--------------
src/backend/utils/mmgr/portalmem.c | 3 +++
1 file changed, 3 insertions(+)

Reply via email to