提交 757e3d3a 编写于 作者: D Daniel P. Berrange

Fix inheritance of virNetClient

When creating the virClass object for virNetClient, we specified
virObject as the parent instead of virObjectLockable
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 0e620e66
......@@ -115,7 +115,7 @@ static void virNetClientDispose(void *obj);
static int virNetClientOnceInit(void)
{
if (!(virNetClientClass = virClassNew(virClassForObject(),
if (!(virNetClientClass = virClassNew(virClassForObjectLockable(),
"virNetClient",
sizeof(virNetClient),
virNetClientDispose)))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册