Fixed: compile error. 22/291622/2 accepted/tizen/unified/20230421.103336
authorjykeon <jykeon@samsung.com>
Wed, 19 Apr 2023 08:27:07 +0000 (17:27 +0900)
committerChun <jykeon@samsung.com>
Wed, 19 Apr 2023 08:29:02 +0000 (08:29 +0000)
Change-Id: I87dbce96bf8398979e432dd43c84e1a12fad78c5
Signed-off-by: jykeon <jykeon@samsung.com>
src/lib/edje/edje_data.c

index 45eb59a..5bd36ad 100644 (file)
@@ -98,7 +98,6 @@ Eet_Data_Descriptor *_edje_edd_edje_part_description_vector_pointer = NULL;
      Edje_Part_Description_Common *data;            \
                                                     \
      data = eina_mempool_malloc(_emp_##Type, size); \
-     // TIZEN_ONLY(20230404): Add null check for data to prevent crash from calling methods on null object
      if (data != NULL)                              \
      {                                              \
         memset(data, 0, size);                      \
@@ -106,7 +105,6 @@ Eet_Data_Descriptor *_edje_edd_edje_part_description_vector_pointer = NULL;
         data->map.zoom.x = data->map.zoom.y = 1.0;  \
         data->map.zoom.id_center = -1;              \
      }                                              \
-     //
                                                     \
      return data;                                   \
   }                                                 \