html.c: freeNodeList() now also NULLifies list

sncf.c: fixed memory leaks
sncf.c: sncf_free_train_info() added
sncf.c: fix fallthrough error: success: labels

main.c: memory leaks and comply with changes