void BKE_free_ocean(struct Ocean *oc) { if (!oc) return; BKE_free_ocean_data(oc); BLI_rw_mutex_end(&oc->oceanmutex); MEM_freeN(oc); }
void BLI_rw_mutex_free(ThreadRWMutex *mutex) { BLI_rw_mutex_end(mutex); MEM_freeN(mutex); }
void BKE_free_ocean(struct Ocean *oc) { if (!oc) return; BKE_free_ocean_data(oc); BLI_rw_mutex_end(&oc->oceanmutex); MEM_freeN(oc); }
void BLI_rw_mutex_free(ThreadRWMutex *mutex) { BLI_rw_mutex_end(mutex); MEM_freeN(mutex); }