This should fix the use-after-free error, although I am not sure whether it
makes REGRESSION do exactly what it should do.
Bug #38787.
regression.models = xcalloc (regression.n_dep_vars, sizeof *regression.models);
+ if (regression.pred || regression.resid)
+ {
+ if (proc_make_temporary_transformations_permanent (ds))
+ msg (SW, _("REGRESSION with SAVE ignores TEMPORARY. "
+ "Temporary transformations will be made permanent."));
+ }
+
{
struct casegrouper *grouper;
struct casereader *group;