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:
1f2a2e3
)
elementary/datetime - +null check
author
ChunEon Park
<hermet@hermet.pe.kr>
Fri, 13 Apr 2012 10:47:24 +0000
(10:47 +0000)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Fri, 13 Apr 2012 10:47:24 +0000
(10:47 +0000)
SVN revision: 70169
src/lib/elm_datetime.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_datetime.c
b/src/lib/elm_datetime.c
index
f43eec1
..
caecb9a
100644
(file)
--- a/
src/lib/elm_datetime.c
+++ b/
src/lib/elm_datetime.c
@@
-712,6
+712,7
@@
_reload_format(Evas_Object *obj)
#endif
dt_fmt = (char *)malloc(MAX_FORMAT_LEN);
+ if (!dt_fmt) return;
strncpy(dt_fmt, wd->format, MAX_FORMAT_LEN);
_expand_format(dt_fmt);