libimobiledevice / libplist

A library to handle Apple Property List format in binary or XML
https://libimobiledevice.org
GNU Lesser General Public License v2.1
532 stars 304 forks source link

replace malloc + memset with calloc where appropriate #184

Closed neheb closed 3 years ago

neheb commented 3 years ago

calloc is faster for big allocations. It's also simpler.

Signed-off-by: Rosen Penev rosenp@gmail.com

nikias commented 3 years ago

Committed manually without the whitespace changes.