commit | 833c93ef47f84e38669fcb1e50773519ec7e262e | [log] [tgz] |
---|---|---|
author | Chuangjie Xia <chuangjie.xia@mediatek.com> | Tue Jul 30 16:41:33 2019 +0800 |
committer | Marco Nelissen <marcone@google.com> | Thu Oct 31 14:14:35 2019 -0700 |
tree | 968ef6b94a71c80f1ad0ec85e6ba1d0d407e2c1b | |
parent | d42aa40c7c9f525e8518760e1e6d91860cd82717 [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