Re: leak in libpq, getpwuid

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Nacos <m(dot)nacos(at)gmail(dot)com>
Cc: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: leak in libpq, getpwuid
Date: 2009-10-22 15:13:32
Message-ID: 666.1256224412@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Nacos <m(dot)nacos(at)gmail(dot)com> writes:
> I have just run some tests, the number of lost bytes is always 292, no
> matter how many connections are opened and closed.
> I guess it's ok, then.

Yeah. I suspect the memory is in fact not "leaked", but valgrind is
somehow missing the link that points to it. You'd have to dig into
the glibc sources to find out for sure though.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2009-10-22 15:32:53 PGDay.EU 2009 - registration deadline extended
Previous Message Michael Nacos 2009-10-22 15:10:39 Re: leak in libpq, getpwuid