Is there a memory leak in commit 8561e48?

From: "jian(dot)long(at)i-soft(dot)com(dot)cn" <jian(dot)long(at)i-soft(dot)com(dot)cn>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Is there a memory leak in commit 8561e48?
Date: 2018-04-19 03:38:09
Message-ID: 2018041911380869070310@i-soft.com.cn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

in commit 8561e48, _SPI_stack alloc from TopMemoryContext. But AtEOXact_SPI just set _SPI_stack = NULL. Is this a memory leak?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2018-04-19 04:25:10 Re: Postgres 10 problem with UNION ALL of null value in "subselect"
Previous Message Thomas Munro 2018-04-19 03:14:17 Re: [HACKERS] PATCH: Keep one postmaster monitoring pipe per process