Releases all resources allocated to lock.
You don't have to call this functions for a GStaticRWLock with an
unbounded lifetime, i.e. objects declared 'static', but if you have
a GStaticRWLock as a member of a structure, and the structure is
freed, you should also free the GStaticRWLock.
Releases all resources allocated to lock. You don't have to call this functions for a GStaticRWLock with an unbounded lifetime, i.e. objects declared 'static', but if you have a GStaticRWLock as a member of a structure, and the structure is freed, you should also free the GStaticRWLock.