| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi All, I have a webserver I use - none of the standard ones available. I have discovered a handle leak in it. I use a memfree(handle) to release resources. Do I need to do anything else? I use thread handles as well as file handles. Thanks, Vaishali |
|
#2
| |||
| |||
| Hi Vaishali, On Fri, 29 Aug 2008 13:50:39 +1000, "Vaishali Kedar" <vaishali.kedar@gordynpalmer.com.au> wrote: >Hi All, > >I have a webserver I use - none of the standard ones available. I have >discovered a handle leak in it. I use a memfree(handle) to release >resources. Do I need to do anything else? I use thread handles as well as >file handles. MemFree() releases resources allocated by MemAlloc(), StringAlloc() and the like. All other objects created by windows API functions (CreateFile(), FOpen(), CreateThread()...) should be closed with CloseHandle(). HTH, Amilcar A. Camargo F. Guatemala, C. A. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.