Fix zlist_dup
Merge pull request #383 from HughPowell/master

Fix zlist_dup