Fixed memory leak when exiting the programm ahead of time

Fixed missing return statement in new_settings_t.

(0) -2 +2 +10 +30 tip

mercurial