Fix unlikely shared memory leak after failure in dshash_create().

Andres Freund <andres@anarazel.de>

Commit: 4569715bd6faa4c43e489a7069ab7abca68ff663
Author: Andres Freund <andres@anarazel.de>
Date: 2017-08-24T23:58:30Z
Releases: 11.0
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

Files

PathChange+/−
src/backend/lib/dshash.c modified +12 −2

Discussion