contrib/gdb-7/gdb/linespec.c
void
destroy_linespec_result (struct linespec_result *ls)
{
  int i;
  struct linespec_sals *lsal;

  xfree (ls->addr_string);
  for (i = 0; VEC_iterate (linespec_sals, ls->sals, i, lsal); ++i)
    {
      xfree (lsal->canonical);
      xfree (lsal->sals.sals);
    }
  VEC_free (linespec_sals, ls->sals);
}
/* See the comment in linespec.h.  */
See the comment in linespec.h.
See the comment in linespec . h .
void
destroy_linespec_result (struct linespec_result *ls)
{
  int i;
  struct linespec_sals *lsal;
  xfree (ls->addr_string);
  for (i = 0; VEC_iterate (linespec_sals, ls->sals, i, lsal); ++i)
    {
      xfree (lsal->canonical);
      xfree (lsal->sals.sals);
    }
  VEC_free (linespec_sals, ls->sals);
}
void destroy_linespec_result ( struct linespec_result * ls ) { int i ; struct linespec_sals * lsal ; xfree ( ls -> addr_string ) ; for ( i = 0 ; VEC_iterate ( linespec_sals , ls -> sals , i , lsal ) ; ++ i ) { xfree ( lsal -> canonical ) ; xfree ( lsal -> sals . sals ) ; } VEC_free ( linespec_sals , ls -> sals ) ; }
See the comment in linespec.h.
See the comment in linespec . h .