Fix UAF in CreatePsDec reset branch CreatePsDec supports a reset an open instance path. If any later step fails, control jumps to bail. This commit fixes the UAF by deleting only locally-allocated buffers inside CreatePsDec and explicitly calling DeletePsDec() in the caller sbrDecoder_ResetElement if CreatePsDec fails. DeletePsDec() will reclaim the space and clear the handle. Bug: 503543341 Test: atest libSBRdec_test --host Flag: EXEMPT BUGFIX Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:9e7bf9c16256ab837d36ef6ff0c0acbbf2c2a5a2 Merged-In: Ie4a4a037e20d32416eef9734dda18c32c263f688 Change-Id: Ie4a4a037e20d32416eef9734dda18c32c263f688