Sun GlassFish Message Queue 4.4 Developer's Guide for C Clients

Parameters

destinationHandle

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.