[Mono-dev] [Patch] Fix for leak in List`1, optimization for ArrayList
vargaz at gmail.com
Thu May 29 07:53:34 EDT 2008
This looks ok to check in. Although I would add a if (j -i > 0) before
the Array.Clear ()
call RemoveAll ().
2008/5/29 Juraj Skripsky <js at hotfeet.ch>:
> 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
More information about the Mono-devel-list