Fixed memory leak when exiting the programm ahead of time

Fixed missing return statement in new_settings_t.

Moved some functions to functions.c

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

mercurial