Re: Re: Is there a memory leak in commit 8561e48?
stack"), errhint("Check for missing \"SPI_finish\" calls."))); + if (_SPI_stack) + pfree(_SPI_stack); From: Michael Paquier Date: 2018-04-20 08:49 To: Postgres hackers CC: Peter Eisentraut; Andrew Dunstan; jian.l...@i-soft.com.cn Subject: Re: Is
Is there a memory leak in commit 8561e48?
in commit 8561e48, _SPI_stack alloc from TopMemoryContext. But AtEOXact_SPI just set _SPI_stack = NULL. Is this a memory leak?