Remove cleanup from complaints.c
[deliverable/binutils-gdb.git] / gdb / infrun.c
index 26853b1a8d17663a6b86bddf03231e1d7ca61c50..f44ca91e77cb1cd64172c9d5d2689cfd13b2ae26 100644 (file)
@@ -8921,7 +8921,7 @@ make_cleanup_restore_infcall_suspend_state
 void
 discard_infcall_suspend_state (struct infcall_suspend_state *inf_state)
 {
-  regcache_xfree (inf_state->registers);
+  delete inf_state->registers;
   xfree (inf_state->siginfo_data);
   xfree (inf_state);
 }
This page took 0.036525 seconds and 4 git commands to generate.