directory: fix bug in first_playlist.
update_walk: fix reference leak.
simple_db, update_container: fix reference leaks.