Kirix Support Forums

Memory not being deleted

Please post all general questions, comments, bug reports, and any other wxWebConnect feedback here.

Memory not being deleted

Postby ngpaton on Thu Sep 03, 2009 5:33 am


When running in MSVC 2005 or 2008 it detects a number of memory leaks on exit. On is from:

Code: Select all
    m_plugin_provider = new PluginListProvider;

in the constructor of the GeckoEngine class. The destructor has

Code: Select all

is this also supposed to delete itself within the call to Release()?

Several others come from the items created in GeckoEngine::Init(), in the cases I've looked at they are all associated with the use of ns_smartptr template.

The main problem with this is that it makes it harder to spot memory leaks from my own code :D that may be more fatal than those in the webconnect code.


Registered User
Posts: 11
Joined: Wed Aug 19, 2009 4:42 am

Re: Memory not being deleted

Postby Ben on Fri Sep 11, 2009 5:28 am

Hi there,

My experience has been that Xulrunner, on the whole, is somewhat leaky. Despite my best efforts, some leaks exist still, though these are mostly one-time leaks, so you won't have progressive deterioration.

Ben Williams
Kirix Support Team
User avatar
Kirix Support Team
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Return to wxWebConnect Questions, Thoughts & Feedback