e_view_client: check the parameter 92/322492/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 10 Apr 2025 01:00:03 +0000 (10:00 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 10 Apr 2025 01:30:30 +0000 (10:30 +0900)
check if client is null

Change-Id: I10936aedbe7325aa1d34cc775652fe8248c3d73e

src/bin/core/e_view_client.c

index 560745a1ffce2e957a91f2819a6679b74f166a90..c7637de6a4479afc394a208dc4485218007062ac 100644 (file)
@@ -740,6 +740,8 @@ e_view_client_render_update_lock_get(E_View_Client *client)
 E_API void
 e_view_client_geometry_get(E_View_Client *client, int *x, int *y, int *width, int *height)
 {
+   if (client == NULL) return;
+
    evas_object_geometry_get(client->view.eo, x, y, width, height);
 }