提交 1fc4846b 编写于 作者: J Ján Tomko

Remove double free in virHostdevManagerDispose

The object itself is freed by virObjectUnref.
上级 74e86b6b
......@@ -83,8 +83,6 @@ virHostdevManagerDispose(void *obj)
virObjectUnref(hostdevMgr->activeUSBHostdevs);
virObjectUnref(hostdevMgr->activeSCSIHostdevs);
VIR_FREE(hostdevMgr->stateDir);
VIR_FREE(hostdevMgr);
}
static virHostdevManagerPtr
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册