Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Thu, 16 Mar 2006 06:22:11 -0800,    group: microsoft.public.exchange2000.development        back       


Memory leak in the managed event sink wrapper   
Hi,

There's a memory leak in the managed MailMsgPropertyBagWrapper, it is 
throwing the exception when a property was not found before free the 
allocated buffer.

The problem is in the file MailMsgPropertyBagWrapper.cs, on the line 249 the 
wrapper is throwing an exception before freeing the buffer, the code that 
frees the buffer is after the command that throws the exception, were 
actually it should be placed directly after the code that calls 
propBag.GetProperty.

A similar problem exists in the ShieldsUp Sample managed sink, it throws the 
exception before releasing COM objects, this will cause IIS to throw an 
exception when the service is stopping.

Kind regards,

Zaher.
date: Thu, 16 Mar 2006 06:22:11 -0800   author:   Zaher Al-Sibai

Google
 
Web ureader.com


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