diff options
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r-- | gdb/gnu-nat.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 5dd4d14..ae049ca 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -3062,7 +3062,7 @@ static void info_port_rights (const char *args, mach_port_type_t only) { struct inf *inf = active_inf (); - struct value *vmark = value_mark (); + scoped_value_mark vmark; if (args) /* Explicit list of port rights. */ @@ -3088,8 +3088,6 @@ info_port_rights (const char *args, mach_port_type_t only) if (err) error (_("%s."), safe_strerror (err)); } - - value_free_to_mark (vmark); } static void |