This is the mail archive of the gdb-testers@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] gdb: Add cleanup to avoid memory leak on error.


*** TEST RESULTS FOR COMMIT c1b009eed88d41b22c9faf68d0dc15967292f6c9 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: c1b009eed88d41b22c9faf68d0dc15967292f6c9

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]