[Top][All Lists]

[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,
> > 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):
> 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

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,

reply via email to

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