Chromium Code Reviews| Index: runtime/bin/file_win.cc |
| =================================================================== |
| --- runtime/bin/file_win.cc (revision 32879) |
| +++ runtime/bin/file_win.cc (working copy) |
| @@ -455,6 +455,7 @@ |
| 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; |