Add support for reading and writing SPV files.
[pspp] / src / language / stats / crosstabs.q
index 0665b75e6f74bf1cc3d9355ff3477ff6546b5532..4c51b0b8edd739d6d4c06d68759e7376943924d5 100644 (file)
@@ -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)