cleanup

The cleanup method cleans up the memory after an RiCOSMutex object is destroyed.

Signature
void RiCOSMutex_cleanup (RiCOSMutex * const me);
Parameters
me

The deleted RiCOSMutex object to clean up after

Example
void RiCOSMutex_cleanup(RiCOSMutex * const me)
{
   if (me != NULL && me->hMutex !=NULL) {
      semDelete(me->hMutex);
      me->hMutex = NULL;
   }
}

Feedback