From: Seongjun Yim Date: Fri, 23 Aug 2013 12:12:53 +0000 (+0900) Subject: fix crash issue X-Git-Tag: submit/tizen_2.2/20131107.062229~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52bfbf18c9cd352989e7dc112edded61f5964d81;p=framework%2Fosp%2Fweb.git fix crash issue Change-Id: Ic883fafe21099dc65dee8861e77e466b3da33cbf Signed-off-by: Seongjun Yim --- diff --git a/src/controls/FWebCtrl_WebImpl.cpp b/src/controls/FWebCtrl_WebImpl.cpp index ed21705..857dbdb 100755 --- a/src/controls/FWebCtrl_WebImpl.cpp +++ b/src/controls/FWebCtrl_WebImpl.cpp @@ -2152,8 +2152,12 @@ _WebImpl::_WebImpl(Web* pWeb, Tizen::Ui::_Control* pCore) _WebImpl::~_WebImpl() { _WebManager* pWebManager = _WebManager::GetInstance(); + SysTryCatch(NID_WEB_CTRL, pWebManager, , E_OUT_OF_MEMORY, "[%s] Memory allocation failed.", GetErrorMessage(E_OUT_OF_MEMORY)); + pWebManager->RemoveWeb(reinterpret_cast< int >(this)); + pWebManager->RemoveActiveWeb(this); +CATCH: RemoveEventListenerCallback(); ClearCertificateDb();