ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis ANDRE" <francis.an...@e-xmlmedia.fr>
Subject [PATCH] SelectorUtils.diff
Date Fri, 11 Oct 2002 16:03:18 GMT
Hi

Here is a patch that fix memory leaks in \jakarta-ant\src\main\org\apache\tools\ant\types\selectors\SelectorUtils.java

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

Mime
View raw message