On Tue, Aug 23, 2011 at 11:55 AM, Mike Frysinger <vap...@gentoo.org> wrote: > On Tuesday, August 23, 2011 14:48:24 Anton Staaf wrote: >> On Tue, Aug 23, 2011 at 11:32 AM, Mike Frysinger wrote: >> > and what do you do when there is no memory left in the malloc arena >> > because you leaked it all and so can't service any new read requests ? >> >> I think you've miss-understood my patch. The allocated buffer is >> stored in a static variable. So only the first time through is it >> allocated. > > yes, i missed that. still no excuse for leaking though ! :)
Fair enough. I'm happier not leaking as well. I'll resubmit this patch once the aligned alloca thread has come to a consensus. Thanks, Anton > -mike > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot