Changeset 93410 in webkit
- Timestamp:
- Aug 19, 2011 8:25:03 AM (13 years ago)
- Location:
- trunk/Source/WebKit/efl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/efl/ChangeLog
r93409 r93410 1 2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com> 2 3 [EFL] Add "return" statement corresponding to abnormal condition on _ewk_frame_smart_add. 4 https://bugs.webkit.org/show_bug.cgi?id=65408 5 6 Bail out when we fail to allocate an Ewk_Frame_Smart_Data object rather than continuing on as if the allocation had succeeded. 7 8 Reviewed by Adam Roben. 9 10 * ewk/ewk_frame.cpp: 11 (_ewk_frame_smart_add): 12 1 13 2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com> 2 14 -
trunk/Source/WebKit/efl/ewk/ewk_frame.cpp
r92948 r93410 183 183 if (!sd) { 184 184 sd = (Ewk_Frame_Smart_Data*)calloc(1, sizeof(Ewk_Frame_Smart_Data)); 185 if (!sd) 185 if (!sd) { 186 186 CRITICAL("could not allocate Ewk_Frame_Smart_Data"); 187 else 188 evas_object_smart_data_set(o, sd); 187 return; 188 } 189 evas_object_smart_data_set(o, sd); 189 190 } 190 191
Note: See TracChangeset
for help on using the changeset viewer.