Пример #1
0
void
disp_sample_table_free (disp_t *d)
{
  struct disp_sample_table *dt = &d->disp.sample_table;
  if (dt->nb > 0)
    data_table_unref (dt->table_ref);
  disp_base_free (d);
}
Пример #2
0
void
data_view_dealloc (struct data_view *d)
{
  if (d->map != NULL)
    free (d->map);

  data_table_unref (d->table);
  d->table = NULL;
}
Пример #3
0
void
disp_table_free (struct disp_struct *d)
{
  data_table_unref (d->disp.table.table_ref);
  disp_base_free (d);
}