Fix a crash bug when free_models is called.
(model_list must be cleaned up for safe).
Authored by: utunnels 2007-12-04
Parent: [r1110]
Child: [r1112]