X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fcrosstabs.q;h=a772034f64c36bdc08e2fc683c7e322dc1193bde;hb=29ff1e6f7b8220c0800740e525381053ca53d2d4;hp=b87acf4c72a31bda4717e9f56a1141f97ec0c9e9;hpb=9f9f1df8da902778240c69012b06b4405d28a302;p=pspp diff --git a/src/language/stats/crosstabs.q b/src/language/stats/crosstabs.q index b87acf4c72..a772034f64 100644 --- a/src/language/stats/crosstabs.q +++ b/src/language/stats/crosstabs.q @@ -1097,7 +1097,7 @@ output_crosstabulation (struct crosstabs_proc *proc, struct crosstabulation *xt) if (!pivot_table_is_empty (risk)) pivot_table_submit (risk); else - pivot_table_destroy (risk); + pivot_table_unref (risk); } if (direct) @@ -1243,7 +1243,8 @@ create_crosstab_table (struct crosstabs_proc *proc, struct crosstabulation *xt, 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;