- mediator/submediator sample app.
- enrolleeSecurity class memory issue.
Change-Id: Ia224aec14001f66085788eced8a4bb059c8e1715
Signed-off-by: Parkhi <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15673
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit
9eb66a6863398d7be7f49a890d7b5e2829a97ddc)
Reviewed-on: https://gerrit.iotivity.org/gerrit/15841
Reviewed-by: Kevin Kane <kkane@microsoft.com>
if(!rsrc)
{
OIC_LOG(DEBUG, ENROLEE_SECURITY_TAG, "createAcl: OICCalloc error return");
- FreeRsrc(rsrc);
OCDeleteACLList(acl);
return NULL;
}
return -1;
}
#endif
- }catch (const std::exception& e)
+ }catch (...)
{
- std::cout << "Exception in main: "<<e.what();
+ std::cout << "Exception in main: " << std::endl;
}
while (true)
{
DisplayMenu();
}
- catch (const std::exception& e)
+ catch (...)
{
- std::cout << "Exception caught in main " << e.what() << std::endl;
+ std::cout << "Exception caught in main " << std::endl;
}
}
return -1;
}
#endif
- }catch (const std::exception& e)
+ }catch (...)
{
- std::cout << "Exception in main: "<<e.what();
+ std::cout << "Exception in main: " << std::endl;
}
while (true)
{
DisplayMenu();
}
- catch (const std::exception& e)
+ catch (...)
{
- std::cout << "Exception caught in main " << e.what() << std::endl;
+ std::cout << "Exception caught in main " << std::endl;
}
}