[libvirt] [PATCH 1/5] qemuBuildMachineCommandLine: Follow our pattern
Pavel Hrdina
phrdina at redhat.com
Thu Aug 4 08:18:28 UTC 2016
On Wed, Jul 27, 2016 at 10:43:48AM +0200, Michal Privoznik wrote:
> We use 'goto cleanup' for a reason. If a function can exit at
> many places but doesn't follow the pattern, it has to copy the
> free code in multiple places.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/qemu/qemu_command.c | 39 ++++++++++++++++++---------------------
> 1 file changed, 18 insertions(+), 21 deletions(-)
>
ACK
More information about the libvir-list
mailing list