pgsql: Fix small memory leaks in GUC checks

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix small memory leaks in GUC checks
Date: 2024-12-09 20:01:26
Message-ID: E1tKjwb-001uyb-Nl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix small memory leaks in GUC checks

Follow-up commit to a9d58bfe8a3a. Backpatch down to v16 where
this was added in order to keep the code consistent for future
backpatches.

Author: Tofig Aliev <t(dot)aliev(at)postgrespro(dot)ru>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reviewed-by: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Discussion: https://postgr.es/m/bba4313fdde9db46db279f96f3b748b1@postgrespro.ru
Backpatch-through: 16

Branch
------
REL_16_STABLE

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

Modified Files
--------------
src/backend/commands/variable.c | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2024-12-09 20:25:14 pgsql: Doc: fix incorrect EXPLAIN ANALYZE output for bloom indexes
Previous Message Daniel Gustafsson 2024-12-09 20:00:43 pgsql: Fix small memory leaks in GUC checks