Re: [HACKERS] scripts/common.c minor memory leak

2006-10-04 Thread Martijn van Oosterhout
On Tue, Oct 03, 2006 at 05:27:31PM -0400, Andrew Dunstan wrote: > It is surely not the only memory leak. We know there are some and in > most cases (like this) they aren't worth the trouble to clean up. If it > were used in psql or the backend I'd be worried, but it isn't, so I'm not. Ofcourse

Re: [HACKERS] scripts/common.c minor memory leak

2006-10-03 Thread Walter Cruz
http://en.wikipedia.org/wiki/Coverity[]'s- WalterOn 10/3/06, Guido Barosio < [EMAIL PROTECTED]> wrote:A good spot :)Sorry for being no{isy}{vice}{wbie}, but what does it means "found by coverity" ?g.-On 10/3/06, Martijn van Oosterhout wrote:> Just a minor thing. In yesno_prompt(

Re: [HACKERS] scripts/common.c minor memory leak

2006-10-03 Thread Guido Barosio
A good spot :) Sorry for being no{isy}{vice}{wbie}, but what does it means "found by coverity" ? g.- On 10/3/06, Martijn van Oosterhout wrote: Just a minor thing. In yesno_prompt(), the value is resp is allocated memory that is never freed. File: src/bin/scripts/common.c Line: 218 Not terri

Re: [HACKERS] scripts/common.c minor memory leak

2006-10-03 Thread Andrew Dunstan
Martijn van Oosterhout wrote: Just a minor thing. In yesno_prompt(), the value is resp is allocated memory that is never freed. File: src/bin/scripts/common.c Line: 218 Not terribly important though, it's not used in critical utilities, but it's used often. Found by coverity. It is surely

[HACKERS] scripts/common.c minor memory leak

2006-10-03 Thread Martijn van Oosterhout
Just a minor thing. In yesno_prompt(), the value is resp is allocated memory that is never freed. File: src/bin/scripts/common.c Line: 218 Not terribly important though, it's not used in critical utilities, but it's used often. Found by coverity. -- Martijn van Oosterhout http://svana.org/