-/* Discard the constructed library list. */
-
-static void
-solib_target_free_library_list (void *p)
-{
- VEC(lm_info_target_p) **result = (VEC(lm_info_target_p) **) p;
- lm_info_target *info;
- int ix;
-
- for (ix = 0; VEC_iterate (lm_info_target_p, *result, ix, info); ix++)
- {
- xfree (info->name);
- VEC_free (CORE_ADDR, info->segment_bases);
- VEC_free (CORE_ADDR, info->section_bases);
- xfree (info);
- }
- VEC_free (lm_info_target_p, *result);
- *result = NULL;
-}
-