Fix unlikely shared memory leak after failure in dshash_create().
authorAndres Freund <andres@anarazel.de>
Thu, 24 Aug 2017 23:58:30 +0000 (16:58 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 24 Aug 2017 23:58:30 +0000 (16:58 -0700)
commit4569715bd6faa4c43e489a7069ab7abca68ff663
treef535b8e04fee9cc0663dc182179ebd325d0c5ce2
parent20fbf25533763c8c78c9c668b718d831236fb111
Fix unlikely shared memory leak after failure in dshash_create().

Tidy-up for commit 8c0d7bafad36434cb08ac2c78e69ae72c194ca20, based on a
complaint from Andres Freund.

Author: Thomas Munro
Reviewed-By: Andres Freund
Discussion: https://postgr.es/m/20170823054644.efuzftxjpfi6wwqs%40alap3.anarazel.de
src/backend/lib/dshash.c