----- Original Message ----- From: "Kevin Atkinson" <[EMAIL PROTECTED]> To: "Gary Setter" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, October 30, 2004 8:02 PM Subject: Re: [aspell-devel] Memory leaks
> On Sat, 30 Oct 2004, Gary Setter wrote: > > > Most of the memory leaks are gone. But these remain. > > > dump master > > I don't see any when I use that command. > Hi Kevin, This is good. I had a leak, found it and I don't know why you didn't have one. It centers on how your global cache works. This is my new dump master code, note the new like with todays date. } else if (action == do_dump) { EXIT_ON_ERR_SET(add_data_set(config->retrieve("master-path"), *config), Dict *, d); StackPtr<Convert> conv(setup_conv(d->lang(), config)); dump(d, conv); d->release(); //31-Oct-04 } What you may have intended, was to keep the Dict (aka Dictionary) object in the global cache and let the destructor of the cache delete it it. But your ~GlobalCacheBase does not release/delete anything. How come you are not getting a memory leak? Best regards, Gary _______________________________________________ Aspell-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/aspell-devel