projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98d3a72
)
plugins: Fixes a issue when dlsym failed, the handle not closed
author
Yonggang Luo
<luoyonggang@gmail.com>
Wed, 7 Oct 2020 16:00:35 +0000
(17:00 +0100)
committer
Alex Bennée
<alex.bennee@linaro.org>
Fri, 9 Oct 2020 16:27:55 +0000
(17:27 +0100)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <
20201001163429
.1348-2-luoyonggang@gmail.com>
Message-Id: <
20201007160038
.26953-20-alex.bennee@linaro.org>
plugins/loader.c
patch
|
blob
|
history
diff --git
a/plugins/loader.c
b/plugins/loader.c
index 685d334e1a16852f82ca605832a15248939e7414..8ac5dbc20f01554147d2cbc1d8acef51567eb9ce 100644
(file)
--- a/
plugins/loader.c
+++ b/
plugins/loader.c
@@
-235,6
+235,7
@@
static int plugin_load(struct qemu_plugin_desc *desc, const qemu_info_t *info)
return rc;
err_symbol:
+ g_module_close(ctx->handle);
err_dlopen:
qemu_vfree(ctx);
return 1;