[Mono-dev] [Patch] Fix for leak in List`1, optimization for ArrayList

Zoltan Varga vargaz at gmail.com
Thu May 29 07:53:34 EDT 2008


Hi,

This looks ok to check in. Although I would add a if (j -i > 0) before
the Array.Clear ()
call RemoveAll ().

               Zoltan

2008/5/29 Juraj Skripsky <js at hotfeet.ch>:
> Hello,
>
> Attached you'll find two patches:
>
>      * a fix for a memory leak in List`1
>      * a tiny optimization for ArrayList (inspired by code in List`1)
>
> ChangeLog entries are included and all corlib unit tests pass.
> Please review.
>
> - Juraj
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>


More information about the Mono-devel-list mailing list