dpms: add null checking of 'dpms->res' variable 08/281908/1
authorduna.oh <duna.oh@samsung.com>
Thu, 22 Sep 2022 01:59:03 +0000 (10:59 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 23 Sep 2022 06:03:46 +0000 (15:03 +0900)
commitb84fa0574cfe29d309b7a3d88336d02c1404285c
tree9056faf85959dfcbda536af2f8d34ffca5094446
parent9ee25d4092b825884e6723088a38ab2a851b01bc
dpms: add null checking of 'dpms->res' variable

dpms->res could be null if no client binds to dpms interface

Change-Id: I4bb631903190ed9a892857b24ea0eb4776b341c5
src/dpms/dpms.c