diff -r d6dafc5d983f -r 1627c337e51e javacommons/fileutils/src/nativefileiohandler.cpp --- a/javacommons/fileutils/src/nativefileiohandler.cpp Fri Oct 15 12:29:39 2010 +0300 +++ b/javacommons/fileutils/src/nativefileiohandler.cpp Fri Oct 29 11:49:32 2010 +0300 @@ -392,6 +392,8 @@ struct stat fileStat; int error = lstat(utf8Name, &fileStat); + delete[] utf8Name; + if (error < 0) { int error = errno;