diff options
author | Glenn Kasten <gkasten@android.com> | 2013-08-01 12:47:14 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-08-01 12:47:14 -0700 |
commit | 1a3739169becc850999c3c06db402541119a428c (patch) | |
tree | 84762cba8a976b67dca741e8cad5adb2486f0c71 /services | |
parent | c5f8c3e5502f3c220fdbb54573608f3b3bd47517 (diff) | |
parent | 6d4d879037a495f9a4276a6996d1845594ce9090 (diff) | |
download | frameworks_av-1a3739169becc850999c3c06db402541119a428c.zip frameworks_av-1a3739169becc850999c3c06db402541119a428c.tar.gz frameworks_av-1a3739169becc850999c3c06db402541119a428c.tar.bz2 |
am 6d4d8790: am b687ff9f: Merge "Fix mismatched delete/new couple"
* commit '6d4d879037a495f9a4276a6996d1845594ce9090':
Fix mismatched delete/new couple
Diffstat (limited to 'services')
-rw-r--r-- | services/audioflinger/Threads.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index d9c312e..17fbd72 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp @@ -4911,9 +4911,9 @@ void AudioFlinger::RecordThread::audioConfigChanged_l(int event, int param) { void AudioFlinger::RecordThread::readInputParameters() { - delete mRsmpInBuffer; + delete[] mRsmpInBuffer; // mRsmpInBuffer is always assigned a new[] below - delete mRsmpOutBuffer; + delete[] mRsmpOutBuffer; mRsmpOutBuffer = NULL; delete mResampler; mResampler = NULL; |