commit | 142514e1e422cdbba4a11493fa87b8f037e57d3e | [log] [tgz] |
---|---|---|
author | Chuangjie Xia <chuangjie.xia@mediatek.com> | Tue Jul 30 16:41:33 2019 +0800 |
committer | Marco Nelissen <marcone@google.com> | Thu Aug 22 08:43:30 2019 -0700 |
tree | 411c94ecd1c56b9004c1d6062e2f3996feca4f92 | |
parent | 6f83b317a48ac8479d4e4e2739dfa59b49d0fb07 [diff] |
Fix exception when delete an uninitialized object Due to some reason, for example, mediaserver dies, SniffAMR fails and the variable mMeta is not initialized. Then exception happens when the flow deletes mMeta in ~AMRExtractor(). Need to check whether mMeta is uninitialized before deleting it. Bug: 138694976 Test: MTBF test Change-Id: I398f1d8639a11bf076e51e9d9077a1f2dd89ab52