Re: [PATCH] qemu-img: Make sure @sn_opts can be deleted in all error cases

2020-11-03 Thread Kevin Wolf
Am 02.11.2020 um 10:04 hat Tuguoyi geschrieben: > @sn_opts is initialized at the beginning, so it should be deleted > after jumping to the lable 'fail_getopt' > > Signed-off-by: Guoyi Tu Thanks, applied to the block branch. Kevin

[PATCH] qemu-img: Make sure @sn_opts can be deleted in all error cases

2020-11-02 Thread Tuguoyi
@sn_opts is initialized at the beginning, so it should be deleted after jumping to the lable 'fail_getopt' Signed-off-by: Guoyi Tu --- qemu-img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-img.c b/qemu-img.c index 2103507..229cdf9 100644 --- a/qemu-img.c +++ b/qemu-