[Qemu-devel] [PULL 3/6] module: Simplify module_load()

2014-07-18 Thread Paolo Bonzini
From: Andreas Färber The file path is not used for error reporting, so we can free it directly after use. Reviewed-by: Fam Zheng Signed-off-by: Andreas Färber Signed-off-by: Paolo Bonzini --- util/module.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/util/module.

[Qemu-devel] [PULL 3/6] module: Simplify module_load()

2014-07-18 Thread Paolo Bonzini
From: Andreas Färber The file path is not used for error reporting, so we can free it directly after use. Reviewed-by: Fam Zheng Signed-off-by: Andreas Färber Signed-off-by: Paolo Bonzini --- util/module.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/util/module.