summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2015-06-30 17:27:53 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-06-30 17:27:54 +0000
commit0254ab09ddafdb548dca7fa93854f9888d4cff0e (patch)
treeccd4d63f993b5fc07be1f7a5e8097cd5a5b1b3f2
parent9844cffc8af28c4829012bc0c48f85d04b671f88 (diff)
parent5bb6dc1933e11cb57e5f4205d13686ad113b205e (diff)
downloadandroid_frameworks_rs-0254ab09ddafdb548dca7fa93854f9888d4cff0e.tar.gz
android_frameworks_rs-0254ab09ddafdb548dca7fa93854f9888d4cff0e.tar.bz2
android_frameworks_rs-0254ab09ddafdb548dca7fa93854f9888d4cff0e.zip
Merge "fix the bug that mWriteStream is deleted twice." into mnc-dev
-rw-r--r--rsFileA3D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsFileA3D.cpp b/rsFileA3D.cpp
index a81d0f93..a7b1e27c 100644
--- a/rsFileA3D.cpp
+++ b/rsFileA3D.cpp
@@ -54,7 +54,7 @@ FileA3D::~FileA3D() {
delete mWriteStream;
}
if (mReadStream) {
- delete mWriteStream;
+ delete mReadStream;
}
if (mAlloc) {
free(mAlloc);