提交 2249f744 编写于 作者: M Michal Privoznik

libvirt_nss: Use VIR_STEAL_PTR() in findLease()

Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
Reviewed-by: NErik Skultety <eskultet@redhat.com>
上级 bc85411c
......@@ -332,9 +332,8 @@ findLease(const char *name,
#endif /* defined(LIBVIRT_NSS_GUEST) */
*address = tmpAddress;
VIR_STEAL_PTR(*address, tmpAddress);
*naddress = ntmpAddress;
tmpAddress = NULL;
ntmpAddress = 0;
ret = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册