soc: qcom: smem: Fix memory leak
In case of Hibernation we are calling probe twice once in thaw and in restore but we are not freeing the allocation in freeze callback, causing possible memory leak. Fix by freeing allocations. Change-Id: If0be8de534e21ac6349279ba0f53dd9b2f3e30d1 Signed-off-by:Arun Prakash <app@codeaurora.org> Signed-off-by:
Atul Raut <araut@codeaurora.org>
Loading
Please register or sign in to comment