[][src]Function paho_mqtt_sys::MQTTAsync_free

pub unsafe extern "C" fn MQTTAsync_free(ptr: *mut c_void)

This function frees memory allocated by the MQTT C client library, especially the topic name. This is needed on Windows when the client libary and application program have been compiled with different versions of the C compiler. It is thus good policy to always use this function when freeing any MQTT C client- allocated memory. @param ptr The pointer to the client library storage to be freed.