Re: plperl and inline functions -- first draft
Alexey Klyukin <alexk@commandprompt.com>
From: Alexey Klyukin <alexk@commandprompt.com>
To: Tim Bunce <Tim.Bunce@pobox.com>
Cc: Joshua Tolley <eggyknap@gmail.com>, Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@postgresql.org
Date: 2009-11-20T14:40:14Z
Lists: pgsql-hackers
On Nov 20, 2009, at 3:50 PM, Tim Bunce wrote: > > When does the reference held by desc.reference get freed? > At the moment it looks like this would leak memory for each DO. Isn't it also the case with the existing plperl code ? I've noticed that free(prodesc) is called when it's no longer used (i.e. in plperl_compile_callback:1636), but refcount of desc->reference is never decremented. -- Alexey Klyukin http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc