This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH/7.6] Fix wrong release (maybe crash GDB) in build_target_command_list
- From: Yao Qi <yao at codesourcery dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>, Joel Brobecker <brobecker at adacore dot com>
- Date: Wed, 24 Apr 2013 23:03:51 +0800
- Subject: Re: [PATCH/7.6] Fix wrong release (maybe crash GDB) in build_target_command_list
- References: <CANFwon0RCwi1CQepWnZuuPvXUNVHXJU-UbknXaR_U3h8shUc8g at mail dot gmail dot com>
On 04/24/2013 09:29 PM, Hui Zhu wrote:
- if (!loc->cond_bytecode)
+ if (!loc->cmd_bytecode)
Nit: "if (loc->cmd_bytecode == NULL)" is better.
--
Yao (éå)