Fix issue detected by static analysis tool 27/295527/1
authorInhong Han <inhong1.han@samsung.com>
Mon, 10 Jul 2023 07:03:15 +0000 (16:03 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 10 Jul 2023 09:55:41 +0000 (18:55 +0900)
commitc47769ab690e8769e41cf74296b5d87e7c5fea27
tree9eb8fc495f081e05d06958af64c0f4a8d84a7467
parent368d1dff3c630252476482440a1f4a360c3e3ec4
Fix issue detected by static analysis tool

Passing null pointer comp_surface to wl_resource_get_id, which dereferences it.

Change-Id: Ief36419d5af201d18f1e413b59057881cb491d9d
src/bin/e_comp_wl_viewport.c