Consider calloc failed cases 79/312579/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 12 Jun 2024 01:36:42 +0000 (10:36 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 12 Jun 2024 01:38:58 +0000 (10:38 +0900)
commit54de0f30630ee25cfb3a63f7927f0b6c2ae65058
tree0185b7120a9b004c2e2c39701f42cfc9baaac6bf
parent52b1d9df483f9f7d53574d813295ef16d0d61f14
Consider calloc failed cases

Similar with malloc failed case, it is possible that calloc return nullptr.

To ensure that cases, let we print error log
and control if it is nullptr.

Change-Id: Ifeaf7dab2846bd14127ca7710271c3b9bb8deeb5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/application-model/normal/appmodel-normal-tizen.cpp
dali/internal/application-model/watch/appmodel-watch-tizen.cpp
dali/internal/application-model/widget/appmodel-widget-tizen.cpp
dali/internal/drag-and-drop/tizen-wayland/drag-and-drop-impl-ecore-wl2.cpp
dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp