Chaos Project

Game Development => Sea of Code => Topic started by: Blizzard on April 16, 2015, 10:40:58 am

Title: libzip memory leak
Post by: Blizzard on April 16, 2015, 10:40:58 am
Hopefully this will save somebody else some time. ._.

We've been having a memory leak in libzip 0.9.3 and I wasted the last two days hunting it down. At first we didn't know what caused the memory leak obviously, but after a day and a half I finally tracked it down to libzip. I upgraded it to 0.11.2, but the leak was still there. There was even a bug report from about 2 weeks ago at their site about memory leaks. So we decided to say fuck it altogether and just switched ti miniz/minizip. It works as smooth as a seal's ass now. So if anybody here ever needs a library that can read ZIP files, don't use libzip.
Title: Re: libzip memory leak
Post by: PhoenixFire on April 18, 2015, 10:17:58 pm
Good to know, thanks.