summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyojung Jo <hj903.jo@samsung.com>2015-05-07 08:50:46 +0900
committerHyojung Jo <hj903.jo@samsung.com>2015-05-07 13:27:47 +0900
commit84499f6a6d50e44de24fd24440ac25cae6969d79 (patch)
treef3da8dcac09e58ea875566efefe9b6db9113b454
parentcdef67ae332882afc24ceb75a82abbd602ff57ae (diff)
downloadtv-app-contents-tizen.tar.gz
tv-app-contents-tizen.tar.bz2
tv-app-contents-tizen.zip
Change-Id: I13a5e35ae855c6dbdfb2c8575b788edbcd91dbb4 Signed-off-by: Hyojung Jo <hj903.jo@samsung.com>
-rw-r--r--src/AppContentCategoryImpl.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/AppContentCategoryImpl.cpp b/src/AppContentCategoryImpl.cpp
index bbf1070..b38e5ba 100644
--- a/src/AppContentCategoryImpl.cpp
+++ b/src/AppContentCategoryImpl.cpp
@@ -58,7 +58,10 @@ bool CAppContentCategoryImpl::Create(CAppContentCategory *parent)
if (!ac)
break;
- ac->Create((const char *)db.String(stmt, 0));
+ if (!ac->Create((const char *)db.String(stmt, 0))) {
+ _ERR("AppContent create failed.");
+ break;
+ }
m->elAppCategory = eina_list_append(m->elAppCategory, ac);
}