Fix memory leak in trans_tbl_init