+libdecarta (0.2.8-1) unstable; urgency=low
+
+ * Fix a crash : when we receive response without a position in geocode
+ * Tag: libdecarta_0.2.8-1
+
+ -- Minjune Kim <sena06.kim@samsung.com> Fri, 31 Aug 2012 23:22:31 +0900
+
libdecarta (0.2.7-18) unstable; urgency=low
* Add pref's properties
pos = get_location_pos_from_decarta_pos (geocode->pos);
acc = location_accuracy_copy ((LocationAccuracy *)(data->userdata2));
+ if (!pos) {
+ if (acc) {
+ location_accuracy_free(acc);
+ acc = NULL;
+ }
+ continue;
+ }
DECARTA_LOGD("location decarta plugin: position_cb %d, lat %f, lon %f ", i++, pos->latitude, pos->longitude);
position_list = g_list_append (position_list, (gpointer)pos);
error = convert_decarta_error_to_location_error (deca_err);
}
if (data->pos_cb) {
+ if (position_list == NULL) error = LOCATION_ERROR_NOT_FOUND;
data->pos_cb(error, position_list, accuracy_list, data->userdata);
}
decarta_geocode_free (geocode);
}
}
+
return convert_decarta_error_to_location_error (ret);
}