Fix some memory leaks
Refactor feed list creation

This is much cleaner and fixes the remaining definite memory leaks
(thanks valgrind).