qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH] gdbstub: clean-up vcont handling to avoid goto


From: Philippe Mathieu-Daudé
Subject: Re: [RFC PATCH] gdbstub: clean-up vcont handling to avoid goto
Date: Tue, 27 Jun 2023 13:13:55 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0

On 27/6/23 13:05, Alex Bennée wrote:
We can handle all the error exit cases by using g_autofree() for the
one thing that needs cleaning up on the exit.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
  gdbstub/gdbstub.c | 28 +++++++++-------------------
  1 file changed, 9 insertions(+), 19 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]