msm: qdsp5: Fix for crash in mp3 driver
When resource allocation fails during mp3 playback, a crash is observed. When such failure occurs, the driver tries to access a handle that was never initialized. This is due to missing flag check to determine whether there was any memory allocation or not prior to failure. Added flag in error cases to avoid such issues. CRs-Fixed: 394671 Signed-off-by:Chaithanya Krishna Bacharaju <chaithan@codeaurora.org> (cherry picked from commit d098938a) Change-Id: I7606f6e8261f75d85d8d1175217a9fa2d1a5cd0a Signed-off-by:
Sudhir Sharma <sudsha@codeaurora.org>
Loading
Please sign in to comment