msm: ipa: nullify mailbox struct after freeing
Nullify mailbox struct after freeing to prevent a mem leak.
Nullify and return if mbox_request_channel fails.
Change-Id: I9ab91654a72502f18f9be622811086655118ecc6
Signed-off-by:
Michael Adisumarta <madisuma@codeaurora.org>
Loading
Please register or sign in to comment