Merge "Clear passing up memory for LocApiBase function"
This commit is contained in:
commit
7b819b2b03
1 changed files with 11 additions and 4 deletions
|
@ -494,11 +494,18 @@ DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
||||||
|
|
||||||
enum loc_api_adapter_err LocApiBase::
|
enum loc_api_adapter_err LocApiBase::
|
||||||
getBestAvailableZppFix(GpsLocation& zppLoc)
|
getBestAvailableZppFix(GpsLocation& zppLoc)
|
||||||
|
{
|
||||||
|
memset(&zppLoc, 0, sizeof(zppLoc));
|
||||||
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
||||||
|
}
|
||||||
|
|
||||||
enum loc_api_adapter_err LocApiBase::
|
enum loc_api_adapter_err LocApiBase::
|
||||||
getBestAvailableZppFix(GpsLocation & zppLoc, LocPosTechMask & tech_mask)
|
getBestAvailableZppFix(GpsLocation & zppLoc, LocPosTechMask & tech_mask)
|
||||||
|
{
|
||||||
|
memset(&zppLoc, 0, sizeof(zppLoc));
|
||||||
|
memset(&tech_mask, 0, sizeof(tech_mask));
|
||||||
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
||||||
|
}
|
||||||
|
|
||||||
int LocApiBase::
|
int LocApiBase::
|
||||||
initDataServiceClient()
|
initDataServiceClient()
|
||||||
|
|
Loading…
Reference in a new issue