We have ATL Server implementation for our web services and we are seeing some memory leak and IISDiag make us point to the CWin32Heap::Free function. Within the services we have used ATL Server Mem Manager to allocate memory for the web service params which
needs to be returned to the client. (e.g: GetMemMgr()->Allocate(size) ). Now the question is can be used for local variables used within the context of web service implementation?. Also the freeing of this memory shall happen automatically?
Any help in this regard is appreciated.
Thanks in Advance,