Destroy chain's trns member, to fix memory leak.
[pspp-builds.git] / src / data / transformations.c
index 675e1c91d95b682b87acb05a3d477125398e88d5..51fddb197e2fa2fe4642c99b8bc15730f247847e 100644 (file)
@@ -105,6 +105,7 @@ trns_chain_destroy (struct trns_chain *chain)
           if (trns->free != NULL) 
             ok = trns->free (trns->aux) && ok;
         }
+      free (chain->trns);
       free (chain);
     }