提交 d0eab955 编写于 作者: J Jim Meyering

xm_internal.c: fix locking bug: s/Lock/Unlock/

* src/xm_internal.c (xenXMDomainDefineXML): Release lock, (don't
try to acquire it) upon failure, just before returning.
上级 a7acdde4
Thu Jan 22 20:17:35 +0100 2009 Jim Meyering <meyering@redhat.com>
xm_internal.c: fix locking bug: s/Lock/Unlock/
* src/xm_internal.c (xenXMDomainDefineXML): Release lock, (don't
try to acquire it) upon failure, just before returning.
Thu Jan 22 10:35:03 PST 2009 John Levon <john.levon@sun.com>
* gnulib/tests/.cvsignore: add test-random_r
......
......@@ -2357,7 +2357,7 @@ virDomainPtr xenXMDomainDefineXML(virConnectPtr conn, const char *xml) {
if (!(def = virDomainDefParseString(conn, priv->caps, xml,
VIR_DOMAIN_XML_INACTIVE))) {
xenUnifiedLock(priv);
xenUnifiedUnlock(priv);
return (NULL);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册