Memory leak in vac_update_relstats ?

From: "Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Memory leak in vac_update_relstats ?
Date: 2007-07-20 09:16:18
Message-ID: 2e78013d0707200216t2f659fealca9a6864230ddc50@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Are we leaking memory in vac_update_relstats ?

/* Fetch a copy of the tuple to scribble on */
ctup = SearchSysCacheCopy(RELOID,
ObjectIdGetDatum(relid),
0, 0, 0);

This copy is not subsequently freed in the function.

Thanks,
Pavan

--
Pavan Deolasee
EnterpriseDB http://www.enterprisedb.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2007-07-20 09:36:14 Re: Memory leak in vac_update_relstats ?
Previous Message Dave Page 2007-07-20 08:02:47 Re: 8.3 Release Schedule