pgsql: Fix memory leaks introduced by commit 283e823f9dcb - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix memory leaks introduced by commit 283e823f9dcb
Date
Msg-id E1w9jck-003EPk-2q@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix memory leaks introduced by commit 283e823f9dcb

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

Author: Aleksander Alekseev <aleksander@tigerdata.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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Introduce a new mechanism for registering shared memory areas
Next
From: Fujii Masao
Date:
Subject: pgsql: Release postmaster working memory context in slotsync worker