fix up cleanup handling in internal_vproblem
authorTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:01:16 +0000 (17:01 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:01:16 +0000 (17:01 +0000)
commit48be7c1b927d5f7a8a73aef6cf840284b272dde4
tree8ec5fb75c33a35fb3b462298956e923e75841468
parente61727abf0dca6c26548e1df9d51a370faf28542
fix up cleanup handling in internal_vproblem

internal_vproblem can return, so this introduces proper cleanup
handling there.  Otherwise it may make a cleanup that is leaked.

* utils.c (internal_vproblem): Call do_cleanups.
gdb/ChangeLog
gdb/utils.c