summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-06-15 13:58:02 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-06-15 13:58:02 +0900
commit4b01ea2597526df8b0e0d82d25aae36c7faa8eff (patch)
tree3e617717d2fe68f04a782d1449cdb508dff44741
parentdd592451b8a65cb1a444691a88cef1d3fcc19fb2 (diff)
calendar: + null check.
-rw-r--r--src/lib/elm_calendar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elm_calendar.c b/src/lib/elm_calendar.c
index 90a6f17ab..9af34c47d 100644
--- a/src/lib/elm_calendar.c
+++ b/src/lib/elm_calendar.c
@@ -1333,6 +1333,7 @@ _elm_calendar_mark_add(Eo *obj, Elm_Calendar_Data *sd, const char *mark_type, st
1333 Elm_Calendar_Mark *mark; 1333 Elm_Calendar_Mark *mark;
1334 1334
1335 mark = _mark_new(obj, mark_type, mark_time, repeat); 1335 mark = _mark_new(obj, mark_type, mark_time, repeat);
1336 if (!mark) return NULL;
1336 sd->marks = eina_list_append(sd->marks, mark); 1337 sd->marks = eina_list_append(sd->marks, mark);
1337 mark->node = eina_list_last(sd->marks); 1338 mark->node = eina_list_last(sd->marks);
1338 1339