summaryrefslogtreecommitdiff
path: root/src/bin/edje/edje_cc_handlers.c
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2020-02-12 16:47:00 +0900
committerHermet Park <hermetpark@gmail.com>2020-02-12 16:47:00 +0900
commit741743652619cb5e2804a3d980492e7981a8ed8e (patch)
treeb896f5e50f175a47be9dd6c449c7ff8fcf7e30ee /src/bin/edje/edje_cc_handlers.c
parent69352e7abe36e8241b78f75771d2e397e36aac97 (diff)
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
Diffstat (limited to '')
-rw-r--r--src/bin/edje/edje_cc_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 8353d260a3..6b7ec172e7 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -11730,7 +11730,7 @@ st_collections_group_parts_part_description_text_fit_size_array(void)
11730 for (n = 0, argc = get_arg_count(); n < argc; n++) 11730 for (n = 0, argc = get_arg_count(); n < argc; n++)
11731 { 11731 {
11732 unsigned int *value = malloc(sizeof(unsigned int)); 11732 unsigned int *value = malloc(sizeof(unsigned int));
11733 *value = (unsigned int) parse_int(n); 11733 if (value) *value = (unsigned int) parse_int(n);
11734 ed->text.fit_size_array = eina_list_append(ed->text.fit_size_array, value); 11734 ed->text.fit_size_array = eina_list_append(ed->text.fit_size_array, value);
11735 } 11735 }
11736} 11736}