pgsql: Fix small memory leaks in GUC checks - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Fix small memory leaks in GUC checks
Date
Msg-id E1tKjvu-001uxE-Gq@gemulon.postgresql.org
Whole thread Raw
List 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.aliev@postgrespro.ru>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Discussion: https://postgr.es/m/bba4313fdde9db46db279f96f3b748b1@postgrespro.ru
Backpatch-through: 16

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9add1bbfa6659f45eb70f19961ce88973801b8ed

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


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Fix small memory leaks in GUC checks
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Fix small memory leaks in GUC checks