Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Unified Diff: runtime/bin/file_win.cc

Issue 173803005: Version 1.2.0-dev.5.13 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/bin/docgen.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | sdk/bin/docgen.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698