[omniORB] MS VC report memory leaks when using orb::shutdown()

hexiong.ict hex at ict.ac.cn
Wed Mar 3 15:20:00 GMT 2004


I used OmniORB3.0.4.

I have created a method shutdown() for an Interface Layer.

OLayer inherits from Layer and has a member CORBA::ORB_ptr orb;

struct Point {
    long x;
    long y;
};

typedef sequence<Point> PtSeq;

OLayer has a member of PtSeq type.

OLayer::shutdown()
{
    orb->shutdown(0);
}

In the client program, 


when I call the shutdown() method, the server shutdown.

But VC report many memory leaks.

why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20040303/dbb3e792/attachment.htm


More information about the omniORB-list mailing list