Re: PATCH: Fix resource leak in cygpath.cc

2007-03-30 Thread Christopher Faylor
Hi Mark, On Fri, Mar 30, 2007 at 03:42:26PM -0700, Mark Mitchell wrote: >Mark Mitchell wrote: >> The cygpath utility calls FindFirstFile, but never calls FindClose. As >> a result, in leaks search handles. When you're using it for just one >> file, that's not a big deal, but if you feed it enough

Re: PATCH: Fix resource leak in cygpath.cc

2007-03-30 Thread Mark Mitchell
Mark Mitchell wrote: > The cygpath utility calls FindFirstFile, but never calls FindClose. As > a result, in leaks search handles. When you're using it for just one > file, that's not a big deal, but if you feed it enough files, it gets > unhappy. Also, if you've got a long running cygpath in on

PATCH: Fix resource leak in cygpath.cc

2007-03-30 Thread Mark Mitchell
The cygpath utility calls FindFirstFile, but never calls FindClose. As a result, in leaks search handles. When you're using it for just one file, that's not a big deal, but if you feed it enough files, it gets unhappy. Also, if you've got a long running cygpath in one window, you can't do file r