The NULL check was accidentally missed from the commit:
commit
365cf23f85795c691edddc836425bcbf34c96f29
Author: Seunghun Lee <shiin.lee@samsung.com>
Date: Tue Jul 20 09:45:18 2021 +0900
Move fake implementations for sub-surface to e_policy_wl
Change-Id: Ibc53c81cfa6ba551f026b352f92b0cb6855183b0
ELOGF("TZPOL", "SUBSURF | Invalid parent(%p). "
"Create with fake implementation", ec, epc);
cdata = e_client_cdata_get(ec);
- if (cdata)
+ if ((cdata) &&
+ (cdata->sub.watcher))
{
tizen_subsurface_watcher_send_message(cdata->sub.watcher,
TIZEN_SUBSURFACE_WATCHER_MSG_PARENT_ID_INVALID);