edje_cc : remove potential NULL dereferencing
Summary: this patch removes potential NULL deferencing in edje_cc Reviewers: jsuya, Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11326
This commit is contained in:
parent
69352e7abe
commit
7417436526
|
@ -11730,7 +11730,7 @@ st_collections_group_parts_part_description_text_fit_size_array(void)
|
|||
for (n = 0, argc = get_arg_count(); n < argc; n++)
|
||||
{
|
||||
unsigned int *value = malloc(sizeof(unsigned int));
|
||||
*value = (unsigned int) parse_int(n);
|
||||
if (value) *value = (unsigned int) parse_int(n);
|
||||
ed->text.fit_size_array = eina_list_append(ed->text.fit_size_array, value);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue