You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Magesh Umasankar <um...@apache.org> on 2002/11/21 22:59:46 UTC

Re: [PATCH] SelectorUtils.diff

Patch applied.  Thanks!

Cheers,
Magesh
----- Original Message -----
From: "Francis ANDRE" <fr...@e-xmlmedia.fr>
To: "Ant Developers List" <an...@jakarta.apache.org>
Sent: Friday, October 11, 2002 11:03 AM
Subject: [PATCH] SelectorUtils.diff


> Hi
>
> Here is a patch that fix memory leaks in
\jakarta-ant\src\main\org\apache\tools\ant\types\selectors\SelectorUtils.jav
a
>
> The method matchPatternStart generates memory leaks due to the 2 Vectors:
patDirs and strDirs,  used to hold tokenizedPaths.
>
> The diff file shows the fix:     reset patDirs and strDirs to null before
each return.
>
> Regards
>
> Francis ANDRE
>  SelectorUtils.diff
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>