| Index: runtime/bin/file_win.cc
|
| diff --git a/runtime/bin/file_win.cc b/runtime/bin/file_win.cc
|
| index b43ae0c772334a51ae66b2a39123d0514644fcd9..f4be3498f6f281ca685d6cca6072b10f41658670 100644
|
| --- a/runtime/bin/file_win.cc
|
| +++ b/runtime/bin/file_win.cc
|
| @@ -468,6 +468,7 @@ void File::Stat(const char* name, int64_t* data) {
|
| struct _stat64 st;
|
| const wchar_t* system_name = StringUtils::Utf8ToWide(name);
|
| int stat_status = _wstat64(system_name, &st);
|
| + free(const_cast<wchar_t*>(system_name));
|
| if (stat_status == 0) {
|
| data[kCreatedTime] = st.st_ctime;
|
| data[kModifiedTime] = st.st_mtime;
|
|
|