PL/Python memory leak (Replaces earlier patch from today)

From: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
To: pgsql-patches(at)postgresql(dot)org
Subject: PL/Python memory leak (Replaces earlier patch from today)
Date: 2002-10-19 20:31:33
Message-ID: Pine.LNX.4.21.0210192126230.26324-200000@ponder.fairway2k.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Adds SPI_freeplan() to the plan object destructor instead of the simple
pfree() added in version 1.25
Removes comment in plan object destructor discussing this point
Adds SPI_freeplan in PLy_spi_prepare() to reclaim plan memory allocated
in the procedure's context by SPI_prepare()

Attachment Content-Type Size
plpython.c.patch text/plain 1.9 KB

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-10-19 22:12:21 Re: PL/Python memory leak (Replaces earlier patch from today)
Previous Message Alvaro Herrera 2002-10-19 18:14:56 Re: [HACKERS] clusterdb has poor error recovery