commit | a11e8b1b9a7661a19a75ef4ffbff99e7adb1ec8d | [log] [tgz] |
---|---|---|
author | Martin Szulecki <m.szulecki@libimobiledevice.org> | Fri Jan 23 15:05:38 2015 +0100 |
committer | Martin Szulecki <m.szulecki@libimobiledevice.org> | Fri Jan 23 15:05:38 2015 +0100 |
tree | 4b0b92e2d7910b5ca4a01b5fb2075d746681c29d | |
parent | 8ed89366e45d594205cf6401ffe6852921ef2484 [diff] |
xplist: Plug memory leak by cleaning up libxml2's parser after use This is actually considered bad practice. However, it appears this memory leak is otherwise not possible to fix due to a design flaw in how libxml2 handles the lifecycle of it's XML parser. We'll let the community test this in production now and decide. In our tests this change had no drawbacks except fixing the last known memory leak in libplist.