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:b90fa3b31838d804623aec8d1211023cc7565b59 Merged-In: Ie4a4a037e20d32416eef9734dda18c32c263f688 Change-Id: Ie4a4a037e20d32416eef9734dda18c32c263f688