提交 3a9cbfe0 编写于 作者: H Hu Tao 提交者: Michael Tokarev

vl: free err

err is not freed after use, thus causing memory leak. This patch fixes
it.
Signed-off-by: NHu Tao <hutao@cn.fujitsu.com>
Cc: qemu-trivial@nongnu.org
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 3952651a
......@@ -2918,6 +2918,7 @@ out:
g_free(dummy);
if (err) {
qerror_report_err(err);
error_free(err);
return -1;
}
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册