Fix significant memory leak in contrib/xml2 functions. Most of the functions that execute XPath queries leaked the data structures created by libxml2. This memory would not be recovered until end of session, so it mounts up pretty quickly in any serious use of the feature. Per report from Pavel Stehule, though this isn't his patch.
Back-patch to all supported branches. Branch ------ REL9_0_STABLE Details ------- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=e6fa73e87a3f3aeb4694ad3d20a179fb76e12ce1 Modified Files -------------- contrib/xml2/xpath.c | 162 ++++++++++++++++++++++++++++---------------------- 1 files changed, 90 insertions(+), 72 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
