pgsql: dbase_redo: Fix Valgrind-reported memory leak - Mailing list pgsql-committers

From Álvaro Herrera
Subject pgsql: dbase_redo: Fix Valgrind-reported memory leak
Date
Msg-id E1v7atX-001B0a-0E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
dbase_redo: Fix Valgrind-reported memory leak

Introduced by my (Álvaro's) commit 9e4f914b5eba, which was itself
backpatched to pg10, though only pg15 and up contain the problem
because of commit 9c08aea6a309.

This isn't a particularly significant leak, but given the fix is
trivial, we might as well backpatch to all branches where it applies, so
do that.

Author: Nathan Bossart <nathandbossart@gmail.com>
Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/x4odfdlrwvsjawscnqsqjpofvauxslw7b4oyvxgt5owoyf4ysn@heafjusodrz7

Branch
------
master

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

Modified Files
--------------
src/backend/commands/dbcommands.c | 1 +
1 file changed, 1 insertion(+)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Remove overzealous _bt_killitems assertion.
Next
From: Álvaro Herrera
Date:
Subject: pgsql: Stop creating constraints during DETACH CONCURRENTLY