javacommons/fileutils/src/nativefileiohandler.cpp
changeset 87 1627c337e51e
parent 78 71ad690e91f5
--- 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;