EMS C client crash when calling the tibemsDestination_Destroy() function.

EMS C client crash when calling the tibemsDestination_Destroy() function.

book

Article ID: KB0088186

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Description:
= = = = = = =
A crash could be caused by the destination which is destroyed when calling the  tibemsDestination_Destroy() function and is returned by tibemsMsg_GetDestination.
The tibemsMsg_GetDestination call returns a destination object whose storage is registered to the message itself. Unlike other ways of creating destinations, it is not necessary (or advisable) to delete this destination because it gets deleted when you delete the message. According to messaging development, anything obtained from a message is owned by the message and cannot be destroyed separately.

Environment:
= = = = = = =
All

Issue/Introduction

EMS C client crash when calling the tibemsDestination_Destroy() function.