if( *userdata == NULL )
{
OIC_LOG(ERROR, SC_ENROLLEE_TAG, "OICMalloc for SCDevConfProperties is failed");
- return ;
+ OICFree(account);
+ return;
}
}
OIC_LOG_V(INFO_PRIVATE, SC_ENROLLEE_TAG, "[User specific property] %s : %s",
SC_RSRVD_ES_VENDOR_ACCOUNT, pDevConfProp->account);
+ OICFree(account);
}
OIC_LOG(INFO, SC_ENROLLEE_TAG, "ReadAccountData OUT");