diff options
-rw-r--r-- | src/AppContentCategoryImpl.cpp | 5 |
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); } |