glutls: fix potential memleak.