fix top.c
authorTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:27:44 +0000 (17:27 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:27:44 +0000 (17:27 +0000)
commit5ae85e4448395edaa514e8fccb508887472166a0
tree25fc86d118a08f129f89fef190b7b004c56edba9
parent73b8d9dab1376f2d43ed8441eda335d2e1156a77
fix top.c

execute_command can leak a cleanup along one return path.

* top.c (execute_command): Discard 'cleanup_if_error' cleanups.
gdb/ChangeLog
gdb/top.c