diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2017-03-16 11:39:08 +0900 |
---|---|---|
committer | HwanKyu Jhun <h.jhun@samsung.com> | 2017-03-15 19:41:29 -0700 |
commit | dad8b9e077617e32e5c62fb6b6716dc04249f679 (patch) | |
tree | cd28efabbabc78a609a5fec6807e0a9b59f68a8e | |
parent | 0c9faf0db7a4b3776c9a097e6952f8393087f01a (diff) | |
download | appcore-widget-dad8b9e077617e32e5c62fb6b6716dc04249f679.tar.gz appcore-widget-dad8b9e077617e32e5c62fb6b6716dc04249f679.tar.bz2 appcore-widget-dad8b9e077617e32e5c62fb6b6716dc04249f679.zip |
Add log messagessubmit/tizen_3.0/20170316.024842accepted/tizen/3.0/wearable/20170316.083817accepted/tizen/3.0/tv/20170316.083804accepted/tizen/3.0/mobile/20170316.083739accepted/tizen/3.0/ivi/20170316.083829accepted/tizen/3.0/common/20170316.121937
Change-Id: I9cc598c0b9252b16946aa93771290538854ddd68
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rwxr-xr-x | src/widget_app.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widget_app.c b/src/widget_app.c index 3911a6d..6cedfa8 100755 --- a/src/widget_app.c +++ b/src/widget_app.c @@ -455,8 +455,10 @@ static int __instance_create(widget_class_h handle, const char *id, const char * bundle *content_info = NULL; wc = (widget_context_s *)calloc(1, sizeof(widget_context_s)); - if (!wc) + if (!wc) { + _E("Out of memory"); return WIDGET_ERROR_OUT_OF_MEMORY; + } wc->state = WC_READY; wc->id = strdup(id); @@ -473,6 +475,7 @@ static int __instance_create(widget_class_h handle, const char *id, const char * ret = handle->ops.create(wc, content_info, w, h, handle->user_data); if (ret < 0) { + _W("Create callback resturns error(%d)", ret); /* TODO send abort */ } else { ret = __send_update_status(handle->classid, wc->id, |