• Nikias Bassen's avatar
    xplist: Plug memory leak when converting PLIST_UID nodes to XML · 16f45a04
    Nikias Bassen authored
    In node_to_xml nodes of type PLIST_UID are temporarily converted
    to a PLIST_DICT for an appropriate XML output. Therefore a PLIST_KEY
    and a PLIST_UINT node is created and inserted into the PLIST_DICT
    node. Upon completion, the child nodes of the PLIST_DICT node are
    detached from the original node and freed, however the data of the
    child nodes - the key string and the uint value - are not.
    This commit fixes it.
    16f45a04
Name
Last commit
Last update
..
Array.cpp Loading commit data...
Boolean.cpp Loading commit data...
Data.cpp Loading commit data...
Date.cpp Loading commit data...
Dictionary.cpp Loading commit data...
Integer.cpp Loading commit data...
Key.cpp Loading commit data...
Makefile.am Loading commit data...
Node.cpp Loading commit data...
Real.cpp Loading commit data...
String.cpp Loading commit data...
Structure.cpp Loading commit data...
Uid.cpp Loading commit data...
base64.c Loading commit data...
base64.h Loading commit data...
bplist.c Loading commit data...
bytearray.c Loading commit data...
bytearray.h Loading commit data...
hashtable.c Loading commit data...
hashtable.h Loading commit data...
libplist++.pc.in Loading commit data...
libplist.pc.in Loading commit data...
plist.c Loading commit data...
plist.h Loading commit data...
ptrarray.c Loading commit data...
ptrarray.h Loading commit data...
xplist.c Loading commit data...