ec_message_free

March 26, 2020 Contributors

Name

ec_message_free — Release resources held by this message

Synopsis

#include "ec_message.h"

| void **ec_message_free** ( | message); |   |

ec_message * <var class="pdparam">message</var>;

Description

Drops the reference to the message or frees memory if it’s the last reference to the ec_message.

Parameters

message

A pointer to an ec_message struct. For documentation of this data structure see “ec_message”

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

ec_message_unlink_on_free and ec_free