projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd59245
)
calendar: + null check.
author
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 15 Jun 2015 04:58:02 +0000
(13:58 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 15 Jun 2015 04:58:02 +0000
(13:58 +0900)
src/lib/elm_calendar.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_calendar.c
b/src/lib/elm_calendar.c
index
90a6f17
..
9af34c4
100644
(file)
--- 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
Elm_Calendar_Mark *mark;
mark = _mark_new(obj, mark_type, mark_time, repeat);
+ if (!mark) return NULL;
sd->marks = eina_list_append(sd->marks, mark);
mark->node = eina_list_last(sd->marks);