libctf: avoid potential double free
authorAlan Modra <amodra@gmail.com>
Thu, 8 Dec 2022 01:15:12 +0000 (11:45 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 8 Dec 2022 01:16:22 +0000 (11:46 +1030)
commit57336e2e4d05eaac6367400e6ce3aed24f838f2c
tree72fcf8c5b71913183932866d43f0619cea340950
parentb0f110a5ea0914aff686bab0f511d749433104d8
libctf: avoid potential double free

* ctf-link.c (ctf_link_add_cu_mapping): Set t NULL after free.
libctf/ctf-link.c