IExchExt interface leak

J

JahMic

I have an IExchExt interface leak, maybe I'm not thinking straight
about this, but the Release for the interface associated with the
EECONTEXT_SESSION is never called. In brief, the start / end sequence
is something like this:

ExchEntryPoint called
Install for EECONTEXT_TASK context (return s_ok)
QueryInterface w/ IID_IExchExtSessionEvents
AddRef
ExchEntryPoint called
Install for EECONTEXT_SESSION context (return s_ok)
QueryInterface w/ IID_IExchExtSessionEvents
AddRef
ExchEntryPoint called
Install for EECONTEXT_VIEWER context (return s_ok)
QueryInterface w/ IID_IExchExtSessionEvents
AddRef

do some work
exit outlook

Release for object with EECONTEXT_VIEWER context called

Release for object with EECONTEXT_TASK context called
end

Any thoughts?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top