mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
libvirt_nss: Use VIR_STEAL_PTR() in findLease()
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
bc85411c49
commit
2249f74419
@ -332,9 +332,8 @@ findLease(const char *name,
|
|||||||
|
|
||||||
#endif /* defined(LIBVIRT_NSS_GUEST) */
|
#endif /* defined(LIBVIRT_NSS_GUEST) */
|
||||||
|
|
||||||
*address = tmpAddress;
|
VIR_STEAL_PTR(*address, tmpAddress);
|
||||||
*naddress = ntmpAddress;
|
*naddress = ntmpAddress;
|
||||||
tmpAddress = NULL;
|
|
||||||
ntmpAddress = 0;
|
ntmpAddress = 0;
|
||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user