]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use unique_ptr for trace_filename
authorTom Tromey <tom@tromey.com>
Thu, 23 Jun 2022 00:09:32 +0000 (18:09 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 10 Jul 2023 19:02:11 +0000 (13:02 -0600)
commitc7b3e7462aba24ce65fd38e367bca976cfddaee2
treea782a9d7266b190615c9c2e221f32ef57fb8ed4f
parentec714f6b595f4487e20d2ee38934397735e9f0d9
Use unique_ptr for trace_filename

This changes trace_filename to use unique_ptr, removing some manual
memory management.

Reviewed-by: Keith Seitz <keiths@redhat.com>
gdb/tracefile-tfile.c