Revert "dsp: q6lsm: Address use after free for mmap handle"

This reverts commit 641e93631b.

Reason for revert: Duplicated commit

Change-Id: I2ad98051309b8d2f8d2b45ec9aa6fa4573aba90d
This commit is contained in:
Michael Bestas 2025-03-21 20:05:05 +02:00
commit 1600959be9
No known key found for this signature in database

View file

@ -539,7 +539,6 @@ static int q6lsm_apr_send_pkt(struct lsm_client *client, void *handle,
if (wait)
mutex_unlock(&lsm_common.apr_lock);
mmap_handle_p = NULL;
if (mmap_p && *mmap_p == 0)
ret = -ENOMEM;
mmap_handle_p = NULL;