Hook.free

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

Parameters

hookList glib.hook_list.HookList

a #GHookList

hook glib.hook.Hook

the #GHook to free