Re: Memory leaks


Subject: Re: Memory leaks
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Fri May 25 2001 - 09:46:43 CDT


On Fri, 25 May 2001, Mike Nordell wrote:

> There are quite a few strings allocated by UT_strdup in the piecetable
> (allocation chain goes something like
> frame->document->piecetable->varset->PP_AttrProp::setProperty->UT_strdup.
> Oh, *and* UT_cloneString from PP_AttrProp::setAttribute.
>
> Perhaps it could be consedered a nice gesture to free that memory? :-)

We should be very careful here. The pointers to those leaked strings may
well be saved and be propagated to all sorts of places.

I'll check.

Martin



This archive was generated by hypermail 2b25 : Sat May 26 2001 - 03:51:07 CDT