Use unique_xmalloc_ptr in breakpoint
This changes struct breakpoint to use unique_xmalloc_ptr in a couple of spots, removing a bit of manual memory management.
This commit is contained in:
parent
23d6ee6405
commit
6f781ee300
6 changed files with 60 additions and 63 deletions
|
@ -3094,7 +3094,7 @@ find_matching_tracepoint_location (struct uploaded_tp *utp)
|
|||
if (b->type == utp->type
|
||||
&& t->step_count == utp->step
|
||||
&& t->pass_count == utp->pass
|
||||
&& cond_string_is_same (t->cond_string,
|
||||
&& cond_string_is_same (t->cond_string.get (),
|
||||
utp->cond_string.get ())
|
||||
/* FIXME also test actions. */
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue