if (!pivot_table_is_empty (risk))
pivot_table_submit (risk);
else
- pivot_table_destroy (risk);
+ pivot_table_unref (risk);
}
if (direct)
free (s);
}
struct pivot_table *table = pivot_table_create__ (
- pivot_value_new_user_text_nocopy (ds_steal_cstr (&title)));
+ pivot_value_new_user_text_nocopy (ds_steal_cstr (&title)),
+ "Crosstabulation");
pivot_table_set_weight_format (table, &proc->weight_format);
table->omit_empty = true;