bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 2/4] fix a realloc-related memory leak in localhost()


From: Samuel Thibault
Subject: Re: [PATCH v2 2/4] fix a realloc-related memory leak in localhost()
Date: Wed, 7 Sep 2011 17:25:52 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Thomas Schwinge, le Wed 07 Sep 2011 17:19:12 +0200, a écrit :
> > +     new = realloc (buf, buf_len);
> > +     if (! new)
> > +       {
> 
> Am I being dense (which is entirely possible), or did you mean to ``free
> (buf)'' here, or what is the intent here?

I've commited it right after.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]