Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 142514e1 authored by Chuangjie Xia's avatar Chuangjie Xia Committed by Marco Nelissen
Browse files

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
parent 6f83b317
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment