issues
search
libimobiledevice
/
libplist
A library to handle Apple Property List format in binary or XML
https://libimobiledevice.org
GNU Lesser General Public License v2.1
528
stars
304
forks
source link
fix String::GetValue memory leaking and suport assignment of const char*
#256
Open
guyingzhao
opened
4 months ago
guyingzhao
commented
4 months ago
change
delete
to
free
since
plist_get_string_val
allocate memory with malloc
support assigning String by
const char*
to avoid memory duplication
delete
tofree
sinceplist_get_string_val
allocate memory with mallocconst char*
to avoid memory duplication