2 Topics

Member Avatar for
Member Avatar for MastAvalons

I think there are memory leak in my application, perhaps the problem is in a part of code status = myPubSubSubscribe.Receive(fsReceivedTopic, myBufferSubscribe, myHeader, 0); if (status == PS_ENGINE_UNAVAIL) { printf("Unable to connect to the pubsub engine: %s\n", PSPubSub::Status2String(status)); myBufferPublish.FreeBuffer(); myBufferPublish.~PSBuffer(); myPubSubPublish.~PSPubSub(); myBufferSubscribe.~PSBuffer(); myPubSubSubscribe.~PSPubSub(); return; }

Member Avatar for Topiary
1
207
Member Avatar for MastAvalons

 class A {    public :          list< string> getList (){                 list< string> l;                 l.push_back ("str1");                 l.push_back ("str2"); ....         …

Member Avatar for mike_2000_17
0
167

The End.