Fix tiny memory leaks
Tofig Aliev <t.aliev@postgrespro.ru>
From: Tofig Aliev <t.aliev@postgrespro.ru>
To: pgsql-hackers@lists.postgresql.org, sawada.mshk@gmail.com
Date: 2024-12-06T08:38:35Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-tiny-memory-leaks.patch (text/x-diff) patch 0001
Hi, hackers! There is a memory leak in functions check_application_name() and check_cluster_name(). Functions are located in src/backend/commands/variable.c The leak can be triggered using SQL command: SET application_name=new_name; You can run pgbench with this command for a long time by passing this command in file via '-f' flag. regards, Tofig
Commits
-
Fix small memory leaks in GUC checks
- be9dac9afc25 16.7 landed
- 9add1bbfa665 17.3 landed
- 73a392d23696 18.0 landed
-
Fix tiny memory leaks
- a9d58bfe8a3a 16.0 cited