Merge "Fix for the crash that was caused when accessing UlpProxy"

This commit is contained in:
Linux Build Service Account 2013-08-22 19:38:36 -07:00 committed by Gerrit - the friendly Code Review server
commit b3a5168ac1

View file

@ -90,6 +90,11 @@ LocEngAdapter::~LocEngAdapter()
void LocEngAdapter::setUlpProxy(UlpProxyBase* ulp)
{
if (ulp == mUlp) {
//This takes care of the case when double initalization happens
//and we get the same object back for UlpProxyBase . Do nothing
return;
}
delete mUlp;
LOC_LOGV("%s] %p", __func__, ulp);
if (NULL == ulp) {