avoid leak upon failed realloc

Jeremy Allison jra at samba.org
Fri Jun 22 21:02:12 GMT 2007


On Fri, Jun 22, 2007 at 04:20:20PM -0400, Theodore Tso wrote:
> 
> Hmm.... There are actually several realloc calls in the tdb sources,
> not just the one which Jim pointed out.  If it's better I can just
> simply hack one of my patches to provide a realloc wrapper that deals
> with all of the cases in one fell swoop.

I checked. I think all other realloc uses in tdb are safe.

Jeremy.


More information about the samba-technical mailing list