+[Version] capi-maps-service_0.6.16
+[Date] 07 oct 2017
+[Title] Ensure internal hash table is empty before destroying maps handle.
+[Developer] Seechan Kim <cbible.kim@samsung.com>
+
[Version] capi-maps-service_0.6.15
[Date] 26 Jul 2017
[Title] Add check routine for symbolic link file
Name: capi-maps-service
Summary: Tizen Maps Service API
-Version: 0.6.15
+Version: 0.6.16
Release: 1
Group: Location/API
License: Apache-2.0
return MAPS_ERROR_INVALID_PARAMETER;
GList *list = (GList *) address_list;
- MAPS_LOGD("address_list:%p, length = %d", list, g_list_length(list));
-
g_list_free_full(list, (GDestroyNotify) maps_address_destroy);
address_list = NULL;
return MAPS_ERROR_NONE;
}
-static void _free_coordinates(gpointer data)
-{
- if (!data) return;
-
- int ret = 0;
- maps_coordinates_s *coordinates = (maps_coordinates_s *) data;
- ret = maps_coordinates_destroy(coordinates);
- if (ret) {
- MAPS_LOGI("Failed to maps_coordinates_destroy!!!"); //LCOV_EXCL_LINE
- }
-}
-
EXPORT_API int maps_coordinates_list_destroy(maps_coordinates_list_h coordinates_list)
{
if (!maps_condition_check_maps_feature())
return MAPS_ERROR_INVALID_PARAMETER;
GList *list = (GList *) coordinates_list;
-
- g_list_free_full(list, (GDestroyNotify) _free_coordinates);
+ g_list_free_full(list, (GDestroyNotify) maps_coordinates_destroy);
coordinates_list = NULL;
return MAPS_ERROR_NONE;
/* 3. Destroy the map of pending requests */
if (plugin->pending_request_maps) {
+ g_hash_table_remove_all(plugin->pending_request_maps);
g_hash_table_unref(plugin->pending_request_maps);
/* Clear the mutex for the map of pending requests */