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.al...@postgrespro.ru>
Reviewed-by: Daniel Gustafsson <dan...@yesql.se>
Reviewed-by: Masahiko Sawada <sawada.m...@gmail.com>
Discussion: https://postgr.es/m/bba4313fdde9db46db279f96f3b74...@postgrespro.ru
Backpatch-through: 16

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/73a392d236965f14b84c0d09f011bda2cba6f8ca

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

Reply via email to