| commit | 9950354362178e5f6c22b70e3747ead4fa790841 | [log] [tgz] |
|---|---|---|
| author | Eric Laurent <elaurent@google.com> | Tue Jul 12 21:09:54 2016 +0000 |
| committer | android-build-merger <android-build-merger@google.com> | Tue Jul 12 21:09:54 2016 +0000 |
| tree | 9f21c3c95b7ea8b1003e976f01fac21d6c91d23d | |
| parent | 801d27d4d76aa040e83c9d9a2286909fd6661b88 [diff] | |
| parent | faf2adda1b3644079e202c2286c817843ecc115d [diff] |
Merge \\"Fix WaveGenerator memory leak\\" am: f58e41ab2f am: faf2adda1b Change-Id: I7f2fbc21275ad795a464146add84321b9161447f
diff --git a/media/libmedia/ToneGenerator.cpp b/media/libmedia/ToneGenerator.cpp index a1b81a0..142a5f5 100644 --- a/media/libmedia/ToneGenerator.cpp +++ b/media/libmedia/ToneGenerator.cpp
@@ -878,6 +878,7 @@ ALOGV("Delete Track: %p", mpAudioTrack.get()); mpAudioTrack.clear(); } + clearWaveGens(); } ////////////////////////////////////////////////////////////////////////////////