Re: [api-dev] DocumentLoader memory leaking on cleanup

2010-10-27 Thread Mathias Bauer
On 10/26/2010 05:26 PM, Chris Rider wrote: As you can tell from the log file, the close method is being called, but not the dispose. Do I need to dispose also? Couldn't really find enough documentation to figure out *exactly* what those two methods entail. I kind of assumed it was something

Re: [api-dev] DocumentLoader memory leaking on cleanup

2010-10-26 Thread Mathias Bauer
On 10/25/2010 07:10 PM, Chris Rider wrote: We are using DocumentLoader to manage the opening of PowerPoint files, and have recently discovered what appears to be a memory leak. As a quick background, these are self-advancing presentations, created using Microsoft by the end-user, who then uses

Re: [api-dev] DocumentLoader memory leaking on cleanup

2010-10-26 Thread Chris Rider
I'm just creating logs with a function (see below for example) I'm pretty sure it isn't being referenced anywhere else. We are merely using this to initiate opening of the file. Here is my C++ function... void Cleanup(const Reference XComponent component) { WriteLog( pid: %d -

Re: [api-dev] DocumentLoader memory leaking on cleanup

2010-10-26 Thread Chris Rider
Please disregard / delete / etc this thread... I am merging this to another post On 10/26/2010 11:26 AM, Chris Rider wrote: I'm just creating logs with a function (see below for example) I'm pretty sure it isn't being referenced anywhere else. We are merely using this to initiate opening of

[api-dev] DocumentLoader memory leaking on cleanup

2010-10-25 Thread Chris Rider
We are using DocumentLoader to manage the opening of PowerPoint files, and have recently discovered what appears to be a memory leak. As a quick background, these are self-advancing presentations, created using Microsoft by the end-user, who then uses our product (CentOS based) to display