Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Tue, 20 Dec 2005 17:59:53 +0100,    group: microsoft.public.platformsdk.com_ole        back       


Resource leak according to IMallocSpy   
Hi,

I already tried to get an answer in the programmer.ole newsgroup and got no responses. So I'll try again here.

I installed an IMallocSpy object with CoRegisterMallocSpy. This spy seems to work nicely because
calls to ICategoryProvider methods or the instantiation of ActiveX controls work perfectly.

I increment a counter during every PostAlloc call  and I decrement this counter during every PostFree call.
After releasing the created objects my counter ends up in the "vicinity of 0".

But every time I call IRunningObjectTable:EnumRunning() memory is allocated that is not freed
by a subsequent :Release call on the returned enumerator. Is that "normal behavior"?

I've got XP Professional SP2.

Best regards,

Michael.
date: Tue, 20 Dec 2005 17:59:53 +0100   author:   Michael Hoffmann m.hoffmann AT compar.cc

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us