The thread() function doesn’t free a variable t->thbuf.gnu_longlink after allocating memory, which may cause a memory leak.