----- Original Message ----- 
From: "Kevin Atkinson" <[EMAIL PROTECTED]>
To: "Gary Setter" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, October 29, 2004 2:19 PM
Subject: Re: [aspell-devel] Memory leaks


> On Thu, 28 Oct 2004, Gary Setter wrote:
>
> > I'm finding memory leaks with the following commands.
> > check <file>
> > ...
>
> > I plan to take a look and if I have something to contribute,
I'll
> > upload a file to my web site.
>
> There is a known, small, memory leak which I have not had time
to fix.
> I just filed a bug report on it (bug # 1056983):
>
http://sourceforge.net/tracker/index.php?func=detail&aid=1056983&group_id=245&atid=100245
>
> If you find any other memory leaks please let me know.
>

Hi Kevin,

Thanks for submitting the bug log. That was one of the leaks.

The description called this line a cast to memory
    decode_ = new (memory) DecodeNormLookup(i->ptr);

since memory is member data (not a type) I would call this
in-place construction.

I made some changes that pluged that leak. You can see them at
http://home.att.net/~setterg/Aspell6.ZIP

See the top of convert.hpp for a description of what I did.

This zip file also has another fix for String.hpp.

I will continue looking for more memory leaks.

Best regard,
Gary



_______________________________________________
Aspell-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/aspell-devel

Reply via email to