Skip site navigation (1) Skip section navigation (2)

Re: libpq: fix unlikely memory leak

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: libpq: fix unlikely memory leak
Date: 2005-06-30 02:00:25
Message-ID: 42C35239.7060703@samurai.com (view raw or flat)
Thread:
Lists: pgsql-patches
Tom Lane wrote:
> Since both allocations are only transient within this routine, there's
> a simpler more effective solution, which is to only do one malloc in
> the first place

Yeah, true. Attached is a revised patch -- committed to HEAD.

-Neil

Attachment: libpq_send_passwd_mem_leak-2.patch
Description: text/x-patch (1.8 KB)

In response to

pgsql-patches by date

Next:From: Josh BerkusDate: 2005-06-30 02:23:34
Subject: Re: Open items
Previous:From: Alvaro HerreraDate: 2005-06-29 23:34:56
Subject: Autovacuum integration patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group