qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 28/36] gdbstub: clean-up vcont handling to avoid goto


From: Richard Henderson
Subject: Re: [PATCH v3 28/36] gdbstub: clean-up vcont handling to avoid goto
Date: Wed, 28 Jun 2023 10:42:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

On 6/27/23 18:09, 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>
Reviewed-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  gdbstub/gdbstub.c | 28 +++++++++-------------------
  1 file changed, 9 insertions(+), 19 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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