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

clang-tidy: replace free with delete #182

Closed neheb closed 3 years ago

neheb commented 3 years ago

It's the C++ way. It also avoids having to check for NULL.

Found with cppcoreguidelines-owning-memory

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

nikias commented 3 years ago

Merged after rebase.