Add a call to subhook_free() in example snippet