Independent Samples T-Test Dialog: Fix Crash
authorJohn Darrington <john@cellform.com>
Mon, 3 Feb 2025 16:27:05 +0000 (17:27 +0100)
committerJohn Darrington <john@cellform.com>
Mon, 3 Feb 2025 16:34:05 +0000 (17:34 +0100)
commitbd3f683c75fc59f886222138bcfcdf0d9b2932d9
treed3219b81f5e5106d9596f29e10c9039083c404a9
parent2284baf7ab2097e7655a376ef7a6f9146a18f952
Independent Samples T-Test Dialog: Fix Crash

Only unref the existing grouping variable, if the new one is non-null.
Otherwise it gets unreffed too many times.

Fixes bug 66747
src/language/commands/glm.c
src/ui/gui/psppire-dialog-action-indep-samps.c