summaryrefslogtreecommitdiff
path: root/contrib/lo
diff options
context:
space:
mode:
authorTom Lane2025-07-08 16:50:19 +0000
committerTom Lane2025-07-08 16:50:33 +0000
commite03c95287764158941d317972a332565729b6af2 (patch)
treecea348abc242ad8d79b4537c71f67f171bb2f557 /contrib/lo
parentaa39b4e35ac65d4c1672ba2a29707008a754ddf5 (diff)
Fix low-probability memory leak in XMLSERIALIZE(... INDENT).HEADmaster
xmltotext_with_options() did not consider the possibility that pg_xml_init() could fail --- most likely due to OOM. If that happened, the already-parsed xmlDoc structure would be leaked. Oversight in commit 483bdb2af. Bug: #18981 Author: Dmitry Kovalenko <[email protected]> Reviewed-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 16
Diffstat (limited to 'contrib/lo')
0 files changed, 0 insertions, 0 deletions