elementary/datetime - +null check

SVN revision: 70169
This commit is contained in:
ChunEon Park 2012-04-13 10:47:24 +00:00
parent b6c827e27a
commit a21ffa384f
1 changed files with 1 additions and 0 deletions

View File

@ -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);