Fix various memory leaks in ksmutil zone add
Merge pull request #108 from jelu/fix_mem_leaks

Fix various memory leaks in ksmutil zone add