Commit b58c86e1 authored by Stefan Weil's avatar Stefan Weil Committed by Anthony Liguori

fsdev: Fix potential memory leak

This leak was reported by cppcheck.
Signed-off-by: default avatarStefan Weil <>
Reviewed-by: default avatarM. Mohan Kumar <>
Signed-off-by: default avatarAnthony Liguori <>
parent edb5092c
......@@ -76,6 +76,8 @@ int qemu_fsdev_add(QemuOpts *opts)
if (fsle->fse.ops->parse_opts) {
if (fsle->fse.ops->parse_opts(opts, &fsle->fse)) {
return -1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment