ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Question of Memory Management in a C Plugin Node

Post new topic  Reply to topic
 Question of Memory Management in a C Plugin Node « View previous topic :: View next topic » 
Author Message
FraggleRock
PostPosted: Wed Feb 07, 2007 1:21 am    Post subject: Question of Memory Management in a C Plugin Node Reply with quote

Newbie

Joined: 20 Sep 2006
Posts: 4

I've coded a user-defined node in C that uses the API calls to create an output message and propagate it to an output terminal.

After propagation, the function cniDeleteMessage() is called to delete the output message.

How much of the output message does this actually destroy? For example, I have allocated memory during the creation of the message (using the CciString() utility function provided in the sample code) to hold the names of the elements I have added to the message, the values of the elements and the name of the elements' namespace. Do I need explicitly to free that memory or does cniDeleteMessage() do that for me?
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Question of Memory Management in a C Plugin Node
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.