Page MenuHomePhabricator

efl_ui_text: add null check
AbandonedPublic

Authored by bowonryu on Jan 28 2019, 9:46 PM.

Details

Summary

need to check memory allocation failures.

Test Plan

N/A

Diff Detail

Repository
rEFL core/efl
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9209
Build 7867: arc lint + arc unit
bowonryu created this revision.Jan 28 2019, 9:46 PM
bowonryu requested review of this revision.Jan 28 2019, 9:46 PM

I am not sure about some codes if they are correct.
Please check the comments.

src/lib/elementary/efl_ui_text.c
3531

is it ok if the previous calloc rect is not freed?

3550

I think that this iterator should be freed when calloc is failed.

3720

is it ok if the previous calloc rect is not freed?

3763

is it ok if the previous calloc rect is not freed?

3826

I think that this iterator should be freed when calloc is failed.

bowonryu abandoned this revision.Jan 29 2019, 4:07 AM