tm: free extra attributes stored in uac branch

- credits to Geoffrey M. for reporting and giving access for
  troubleshooting

(cherry picked from commit c5e0bda5e20adeaa2a899fcc55ad12cf4678cf39)