On Wed, 2 Jul 2008, Tom Lane wrote:
> "Matt Magoffin" <postgresql(dot)org(at)msqr(dot)us> writes:
>> Below is a test case that simulates the use of xpath() within a plpgsql
>> function in my application.
>
> I'm able to duplicate the memory leak in this function with the current
> Fedora 8 libxml2 (2.6.32). The leak is definitely inside libxml2
> itself, because the bloat shows up here:
>
I think this should fix it.
Kris Jurka