aspell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [aspell-devel] Memory leaks


From: Gary Setter
Subject: Re: [aspell-devel] Memory leaks
Date: Sat, 30 Oct 2004 12:46:29 -0500

----- Original Message ----- 
From: "Kevin Atkinson" <address@hidden>
To: "Gary Setter" <address@hidden>
Cc: <address@hidden>
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]