destroy

This method destroys the RiCOSSocket object.

Signature
void RiCOSSocket_destroy (RiCOSSocket *const me);
Parameters
me

The RiCOSSocket object to destroy

Example
void RiCOSSocket_destroy(RiCOSSocket * const me)
{
   if (me != NULL) {
      RiCOSSocket_cleanup(me);
      free(me);
   }
}

Feedback