pspp-sheet-view: Make Home and End go to left and right of sheet.
[pspp] / src / math / categoricals.c
index 7eaf82195badf8dab7e63914cff3934cd6e3d68c..b9748c759ed8f114969728743c84d3880ce033df 100644 (file)
@@ -253,10 +253,8 @@ categoricals_destroy (struct categoricals *cat)
       /* Interate over each interaction value, and unref any cases that we reffed */
       HMAP_FOR_EACH (iv, struct interaction_value, node, &cat->iap[i].ivmap)
        {
-#if 0
-         if (cat->payload)
-           cat->payload->destroy (cat->aux1, iv->user_data);
-#endif
+         if (cat->payload && cat->payload->destroy)
+           cat->payload->destroy (cat->aux1, cat->aux2, iv->user_data);
          case_unref (iv->ccase);
        }