libpq: fix sslcompression leak

Lists: pgsql-hackers
From: Marko Kreen <markokr(at)gmail(dot)com>
To: Postgres Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: libpq: fix sslcompression leak
Date: 2012-02-01 12:56:44
Message-ID: 20120201125644.GA15285@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

freePGconn() does not free sslcompression. Fix.

Found with valgrind.

--
marko

Attachment Content-Type Size
fix_sslcomp.diff text/x-diff 489 bytes

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Marko Kreen <markokr(at)gmail(dot)com>
Cc: Postgres Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq: fix sslcompression leak
Date: 2012-02-01 15:52:32
Message-ID: CABUevEzz8rvOp5o2SGOXQ_=Tbg16-hgDKoTxVx3OPW_y-7qx=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Wed, Feb 1, 2012 at 13:56, Marko Kreen <markokr(at)gmail(dot)com> wrote:
> freePGconn() does not free sslcompression.  Fix.

Thanks, applied.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/