commit | 98088c424efd45ea3c172d4bc16e191f26a007cc | [log] [tgz] |
---|---|---|
author | Zheng Xu <zheng.xu@linaro.org> | Fri Jun 19 14:12:45 2015 +0800 |
committer | Zheng Xu <zheng.xu@linaro.org> | Fri Jun 19 17:12:20 2015 +0800 |
tree | ef559d14d6b9477325e36ae78baf11a453222065 | |
parent | f12ffdb549f1947125e3f56694cb479a619f02bf [diff] [blame] |
ART: Fix data loss when symbolizing oat files. Change-Id: I1b40b8ee313a4d187439d969d083d12fb3997cda
diff --git a/compiler/buffered_output_stream.h b/compiler/buffered_output_stream.h index bbc49df..15fc033 100644 --- a/compiler/buffered_output_stream.h +++ b/compiler/buffered_output_stream.h
@@ -28,6 +28,7 @@ explicit BufferedOutputStream(OutputStream* out); virtual ~BufferedOutputStream() { + Flush(); delete out_; }