Ensure that RELIABILITY is always fully constructed. 20130129030504/pspp 20130130030502/pspp 20130131030506/pspp 20130201030505/pspp 20130202030503/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 28 Jan 2013 18:00:29 +0000 (19:00 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 28 Jan 2013 18:00:29 +0000 (19:00 +0100)
commit33cec136669c33bd41b25def705123828f3a7f9e
treeef18034bf0c37a5a3ba0c7368aba941a260d24f0
parente94a39ff572a51907545497c26faccdf4b2c5ada
Ensure that RELIABILITY is always fully constructed.

Commit e94a39ff572a51907545497c26faccdf4b2c5ada added a 'no crash' test
checking that RELIABILITY's destructor didn't cause any problems when
the procedure was presented with invalid syntax.  Unfortunately the
associated fix was only half done.  The scale_name variable was being
destroyed when it hadn't been initialised.  This change fixes that.

Reported-by: Jeremy Lavergne
src/language/stats/reliability.c