disp: msm: sde: add proper null checks
This change adds proper null checks after using
kcalloc and returns early to avoid accessing null ptr.
Change-Id: I948ad37eb120e00c5f6e3ae2e3b967819cbd233b
Signed-off-by:
Samantha Tran <samtran@codeaurora.org>
Loading
Please register or sign in to comment