Re: scripts/common.c minor memory leak - Mailing list pgsql-hackers

From Guido Barosio
Subject Re: scripts/common.c minor memory leak
Date
Msg-id f7f6b4c70610031928r8a177f0v3c1216e9249423d4@mail.gmail.com
Whole thread Raw
In response to scripts/common.c minor memory leak  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: scripts/common.c minor memory leak
List pgsql-hackers
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 <kleptog@svana.org> 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.
> --
> Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> > From each according to his ability. To each according to his ability to litigate.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFFItO3IB7bNG8LQkwRAk2bAKCB3AKuon35YAMOEjixN7P9HQeoBgCeOWpF
> 5/GvkeMtRwlncGBP9MG2qXw=
> =FBVw
> -----END PGP SIGNATURE-----
>
>
>


-- 
Guido Barosio
-----------------------
http://www.globant.com
guido.barosio@globant.com


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgindent has been run
Next
From: "Walter Cruz"
Date:
Subject: Re: scripts/common.c minor memory leak