pgsql: Fix minor memory leak introduced in recent SQL-functions hacking:

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix minor memory leak introduced in recent SQL-functions hacking:
Date: 2008-11-27 00:10:05
Message-ID: 20081127001005.8E69A7545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix minor memory leak introduced in recent SQL-functions hacking: the
DestReceiver created during postquel_start needs to be destroyed during
postquel_end. In a moment of brain fade I had assumed this would be taken
care of by FreeQueryDesc, but it's not (and shouldn't be).

Modified Files:
--------------
pgsql/src/backend/executor:
functions.c (r1.128 -> r1.129)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/functions.c?r1=1.128&r2=1.129)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-11-27 00:28:06 pgsql: Tweak wording of DISCARD ALL description to avoid giving the
Previous Message User Mkz 2008-11-26 23:09:06 pgbouncer - pgbouncer: Quick win32 fixes.