diff options
| author | 2015-06-19 14:12:45 +0800 | |
|---|---|---|
| committer | 2015-06-19 17:12:20 +0800 | |
| commit | 98088c424efd45ea3c172d4bc16e191f26a007cc (patch) | |
| tree | ef559d14d6b9477325e36ae78baf11a453222065 /compiler/buffered_output_stream.h | |
| parent | f12ffdb549f1947125e3f56694cb479a619f02bf (diff) | |
ART: Fix data loss when symbolizing oat files.
Change-Id: I1b40b8ee313a4d187439d969d083d12fb3997cda
Diffstat (limited to 'compiler/buffered_output_stream.h')
| -rw-r--r-- | compiler/buffered_output_stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/buffered_output_stream.h b/compiler/buffered_output_stream.h index bbc49df6d2..15fc0335a9 100644 --- a/compiler/buffered_output_stream.h +++ b/compiler/buffered_output_stream.h @@ -28,6 +28,7 @@ class BufferedOutputStream FINAL : public OutputStream { explicit BufferedOutputStream(OutputStream* out); virtual ~BufferedOutputStream() { + Flush(); delete out_; } |