List memory leak fix

These changes add fixes for memory leaks in observe/model/list.