free
⚠️ Deprecated ⚠️
This is deprecated since version 2.32.
GMutex can now be statically allocated, or embedded in structures and initialised with g_mutex_init().
Destroys a @mutex that has been created with g_mutex_new().
Calling g_mutex_free() on a locked mutex may result in undefined behaviour.