Add a stub "free" routine for pterm. Thanks to rjk.