Re: getRichText() memory leak?
Larry Miller wrote:
>
> I have located the problem.
> It is in getData() in win32Lib.ew
>
> Locate the line "text=peek({buffer,iLength})" at about line 15382. There is
> more than instance of this code so be sure to get the right line.
> I inserted "w32release_mem( buffer )" after this line.
>
> This is in version .70.4
>
> The memory for buffer was allocated but never freed
>
> Larry Miller
Thanks, Larry.
That sorts the problem with getRichText() in my demo but I suspect more
leaks. I have a large program and it took a fair amount of ripping
apart to pin the problem down to getRichText()
.... but it still has more memory leaks :(
Maybe it's with getStream and putStream.
I'll be back.
Regards,
Bob
|
Not Categorized, Please Help
|
|