msm: Add NULL pointer check before ion cache operation
If the ion buffer is of size zero, NULL pointer
dereferencing may take place. Avoid it by adding
a check before function call.
Change-Id: If6c19a94f70f3658c5323a0742399ec977944da7
Signed-off-by:
Neeti Desai <neetid@codeaurora.org>
Loading
Please register or sign in to comment