Calls the #GHookList finalize_hook function if it exists, and frees the memory allocated for the #GHook.
a #GHookList
the #GHook to free
Calls the #GHookList finalize_hook function if it exists, and frees the memory allocated for the #GHook.