summaryrefslogtreecommitdiffstats
path: root/dives/test19.xml
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-02-21 03:07:22 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-20 17:21:25 -0800
commitdcad3af8b63558d9d62cf995de6b4043c3f751fb (patch)
tree899f69428610633e728b4da47c6f19b6bf35a90b /dives/test19.xml
parentef4a39c61332a9b627be544b7f80595f412d3016 (diff)
downloadsubsurface-dcad3af8b63558d9d62cf995de6b4043c3f751fb.tar.gz
parse-xml.c: fixed a small memory leak related to xmlGetProp()
test_xslt_transforms(): xmlGetProp uses strdup(), so we have to clear the memory if a pointer is returned. xmlFree() doesn't seem very portable (strangly enought), so we use free(..) directly. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test19.xml')
0 files changed, 0 insertions, 0 deletions