Change breakpoint::filter to be a unique_xmalloc_ptr
authorTom Tromey <tromey@adacore.com>
Tue, 23 Jul 2019 18:41:02 +0000 (12:41 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 6 Aug 2019 14:01:21 +0000 (08:01 -0600)
commitc0e8dcd87101119806c5bbca4c7b649c1b8c0996
tree5a48dc95bc727191690c782a470d1b184f87a1f0
parent128bf1fe608badb59d27f9c5c8ffb1a6a6d9d811
Change breakpoint::filter to be a unique_xmalloc_ptr

This changes breakpoint::filter to be a unique_xmalloc_ptr, removing
an explicit xfree, as well as a use of a "release" method.

gdb/ChangeLog
2019-08-06  Tom Tromey  <tromey@adacore.com>

* breakpoint.c (init_breakpoint_sal): Update.
(breakpoint): Update.
* breakpoint.h (struct breakpoint) <filter>: Now a
unique_xmalloc_ptr.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
This page took 0.024391 seconds and 4 git commands to generate.