Chromium Code Reviews| Index: runtime/bin/main.cc |
| diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc |
| index fdf624842085cc8821e7915de2f4a9741d0dd51f..38a98931c6c2a02a9ba51e1a389c4e709457d0e6 100644 |
| --- a/runtime/bin/main.cc |
| +++ b/runtime/bin/main.cc |
| @@ -1105,7 +1105,7 @@ static void WriteSnapshotFile(const char* snapshot_directory, |
| "Unable to open file %s for writing snapshot\n", |
| qualified_filename); |
| } |
| - delete file; |
| + file->Release(); |
| if (concat != NULL) { |
| delete concat; |
| } |