Use scoped_value_mark in value_print
[deliverable/binutils-gdb.git] / gdb / valprint.c
index 8adbb3df45714be5aa23cb842506cb6aa800dbd5..4383915de73443b1287e04c4b57a91c04d44d1bf 100644 (file)
@@ -1227,6 +1227,8 @@ void
 value_print (struct value *val, struct ui_file *stream,
             const struct value_print_options *options)
 {
+  scoped_value_mark free_values;
+
   if (!value_check_printable (val, stream, options))
     return;
 
This page took 0.024493 seconds and 4 git commands to generate.