Fix leaks in MEANS command
[pspp] / src / math / categoricals.c
index 43edd048dc5324a8306133453096a0d079625708..b9748c759ed8f114969728743c84d3880ce033df 100644 (file)
@@ -254,7 +254,7 @@ categoricals_destroy (struct categoricals *cat)
       HMAP_FOR_EACH (iv, struct interaction_value, node, &cat->iap[i].ivmap)
        {
          if (cat->payload && cat->payload->destroy)
-           cat->payload->destroy (cat->aux1, iv->user_data);
+           cat->payload->destroy (cat->aux1, cat->aux2, iv->user_data);
          case_unref (iv->ccase);
        }