The MQFreeDestination function frees memory allocated for the destination referenced by the specified handle.
MQFreeDestination(MQDestinationHandle destinationHandle); |
MQStatus. See the MQStatusIsError() function for more information.
A handle to the destination you want to free.
Calling the MQFreeConnection or the MQCloseSession function does not automatically free destinations created for the connection or for the session.