pgsql: Fix unlikely shared memory leak after failure in dshash_create()

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix unlikely shared memory leak after failure in dshash_create()
Date: 2017-08-25 00:52:52
Message-ID: E1dl2rk-0001VF-3z@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4569715bd6faa4c43e489a7069ab7abca68ff663

Modified Files
--------------
src/backend/lib/dshash.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2017-08-25 06:36:03 Re: [COMMITTERS] pgsql: Fix bug that can cause walsender not to terminating at shutdown.
Previous Message Andres Freund 2017-08-24 22:22:14 pgsql: Fix bug that can cause walsender not to terminating at shutdown.