memset(handle, 0, sizeof(location_manager_s));
- handle->object = location_new(_method, FALSE);
+ handle->object = location_new(_method);
if (handle->object == NULL) {
//LCOV_EXCL_START
LOCATIONS_LOGE("LOCATIONS_ERROR_SERVICE_NOT_AVAILABLE(0x%08x) : fail to location_new", LOCATIONS_ERROR_SERVICE_NOT_AVAILABLE);
handle->sig_id[_LOCATION_SIGNAL_ERROR_EMITTED] = 0; //LCOV_EXCL_LINE
}
- int ret = location_free(handle->object, FALSE);
+ int ret = location_free(handle->object);
if (ret != LOCATIONS_ERROR_NONE)
return __convert_error_code(ret); //LCOV_EXCL_LINE