void nopoll_free ( noPollPtr  ref)

Allows to deallocate memory referenced by ref but checking before that the reference is different from null.

Parameters
refThe reference to clear.

Referenced by nopoll_conn_close_ext(), nopoll_conn_complete_pending_write(), nopoll_conn_get_msg(), nopoll_conn_opts_set_cookie(), nopoll_conn_opts_set_extra_headers(), nopoll_conn_opts_set_interface(), nopoll_conn_unref(), nopoll_ctx_unref(), and nopoll_msg_unref().