[Top][All Lists]

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

Re: [Qemu-block] [Qemu-devel] [PATCH v4 03/28] qemu-img: Don't leak erro

From: Markus Armbruster
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH v4 03/28] qemu-img: Don't leak errors when outputting JSON
Date: Wed, 01 Jun 2016 17:25:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Eric Blake <address@hidden> writes:

> If our JSON output ever encounters an error, we would just silently
> leak the local variable.  Instead, assert that our usage won't fail.

Suggest "leak the error object".  Can do on commit.

> Signed-off-by: Eric Blake <address@hidden>

reply via email to

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