[Top][All Lists]

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

Re: another hash cleanup

From: Eric Blake
Subject: Re: another hash cleanup
Date: Thu, 18 Jun 2009 19:53:08 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Jim Meyering <jim <at> meyering.net> writes:

> >    if (new_table == NULL)
> >      return false;
> > +  if (new_table->n_buckets == table->n_buckets)
> > +    return true;

Aargh.  Ten minutes after I push, I finally see my memory leak.

Obviously, new_table needs to be freed before returning true.

Eric Blake

reply via email to

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