aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2015-05-21 00:51:23 +0200
committerAndrew Burgess <andrew.burgess@embecosm.com>2015-05-21 20:49:00 +0200
commitc1b009eed88d41b22c9faf68d0dc15967292f6c9 (patch)
tree0c1331c45e60f5c9b3f0b36df76ea133180bd745 /gdb/python/python.c
parent880d1e40c771e4a389d0b29bf196b50f1b696ea9 (diff)
downloadbinutils-c1b009eed88d41b22c9faf68d0dc15967292f6c9.zip
binutils-c1b009eed88d41b22c9faf68d0dc15967292f6c9.tar.gz
binutils-c1b009eed88d41b22c9faf68d0dc15967292f6c9.tar.bz2
gdb: Add cleanup to avoid memory leak on error.
Use cleanup to avoid leaking memory if an error occurs during tui start up. gdb/ChangeLog: * tui/tui-layout.c (tui_set_layout_for_display_command): Ensure buf_ptr is freed.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions