these capabilities and stashes them in "struct tinfo" for t_goto to use. This makes the t_goto call more efficient and plugs a memory leak that was present in the original t_goto implementation. Thanks to Itojun for spotting this one too!