zip_support: Fix potential memory leaks
Merge pull request #1202 from lioncash/zip-leak

zip_support: Fix potential memory leaks