- Sometimes the interface obtained from wl_display_get_protocol_error
is NULL when interface has already been destroyed.
Change-Id: I0fe2fe9b759682078366bdc5fe4076e9f66a6d8a
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
&err_interface,
&err_proxy_id);
TPL_ERR("[Protocol Error] interface: %s, error_code: %d, proxy_id: %d",
- err_interface->name, err_code, err_proxy_id);
+ (err_interface ? err_interface->name : "UNKNOWN"),
+ err_code, err_proxy_id);
}
wl_egl_display->last_error = errno;
&err_interface,
&err_proxy_id);
TPL_ERR("[Protocol Error] interface: %s, error_code: %d, proxy_id: %d",
- err_interface->name, err_code, err_proxy_id);
+ (err_interface ? err_interface->name : "UNKNOWN"),
+ err_code, err_proxy_id);
}
wl_vk_display->last_error = errno;