pgsql: Fix memory leaks introduced by commit 283e823f9dcb

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix memory leaks introduced by commit 283e823f9dcb
Date: 2026-04-06 13:04:15
Message-ID: E1w9jck-003EPk-2q@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix memory leaks introduced by commit 283e823f9dcb

When freeing pending_shmem_requests we should also free the ->options.

Author: Aleksander Alekseev <aleksander(at)tigerdata(dot)com>
Discussion: https://www.postgresql.org/message-id/CAJ7c6TN9tp8MTc0WXM0zfSWqjfBqU8gpe+o5KqHB1-cQ7409Kw@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/storage/ipc/shmem.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2026-04-06 14:05:37 pgsql: Release postmaster working memory context in slotsync worker
Previous Message Heikki Linnakangas 2026-04-06 12:38:53 Re: pgsql: Introduce a new mechanism for registering shared memory areas